/*
Theme Name: Miracle
Theme URI: https://miracle-ladies.com/
Author: Miracle_ladies
Author URI: https://miracle-ladies.com/
Description: Тема для общения
Version: 1.6.8
License: Miracle_Lock
*/

/* Все стили темы находятся в этом файле. Классы wm-view-* ограничивают шаблоны. */



/* ========== НАЧАЛО: Общие стили сайта и карточек ========== */
/**
 * Назначение файла: Базовое оформление темы. Имена классов и правила каскада сохранены для совместимости шаблонов.
 * Пояснения к изменениям производительности размещены возле соответствующих блоков.
 */


/* ============================================================
   MIRACLE — ОБЩАЯ ТЁМНАЯ ТЕМА
   Важно: transform не используется, чтобы интерфейс не дёргался
============================================================ */

body.wm-site{
    --bg-body: #1a1a1a;
    --bg-panel: #232220;
    --bg-panel-2: #2a2825;
    --bg-panel-3: #181716;
    --bg-soft: rgba(255, 255, 255, 0.045);
    --bg-soft-2: rgba(255, 255, 255, 0.07);
    --bg-dark-soft: rgba(0, 0, 0, 0.18);

    --accent: #c4455c;
    --accent-hover: #d75970;
    --accent-soft: rgba(196, 69, 92, 0.14);
    --accent-border: rgba(196, 69, 92, 0.36);

    --text-main: #ffffff;
    --text-muted: rgba(255, 255, 255, 0.72);
    --text-soft: rgba(255, 255, 255, 0.52);
    --text-dark: #171615;

    --border-subtle: rgba(255, 255, 255, 0.08);
    --border-strong: rgba(255, 255, 255, 0.16);

    --green: #5bbf3a;
    --blue: #2aa6ff;
    --yellow: #f6b23c;
    --red: #fb7185;

    --radius-xl: 24px;
    --radius-lg: 20px;
    --radius-md: 14px;
    --radius-sm: 10px;
    --radius-xs: 7px;

    --site-max: 1350px;
    --content-max: 1400px;
}

/* ============================================================
   СБРОС / БАЗА
============================================================ */

body.wm-site *,
body.wm-site *::before,
body.wm-site *::after{
    box-sizing: border-box;
}

body.wm-site,
body.wm-site{
    margin: 0;
    padding: 0;
    min-height: 100%;
}

body.wm-site{
    scroll-behavior: smooth;
}

body.wm-site{
    min-height: 100vh;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", Arial, sans-serif;
    background:
        radial-gradient(circle at top, rgba(196, 69, 92, 0.05), transparent 360px),
        var(--bg-body);
    color: var(--text-main);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

body.wm-site main{
    display: block;
    min-height: calc(100vh - 72px);
}

body.wm-site a{
    color: var(--accent);
    text-decoration: none;
    transition: color 0.18s ease, background 0.18s ease, border-color 0.18s ease, opacity 0.18s ease;
}

body.wm-site a:hover{
    color: var(--accent-hover);
}

body.wm-site button,
body.wm-site input,
body.wm-site textarea,
body.wm-site select{
    font-family: inherit;
}

body.wm-site button{
    cursor: pointer;
}

body.wm-site img,
body.wm-site svg,
body.wm-site video{
    max-width: 100%;
}

body.wm-site img{
    height: auto;
}

body.wm-site input,
body.wm-site textarea,
body.wm-site select{
    color: var(--text-main);
}

body.wm-site.wm-filter-lock{
    overflow: hidden;
    touch-action: none;
}

/* ============================================================
   ВОДЯНОЙ ЗНАК — СТРОГО ПО ЦЕНТРУ ФОТО
============================================================ */

body.wm-site .media{
    position: relative;
}

body.wm-site .media::after{
    content: "Miracle-ladies";
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.43);
    font-size: clamp(20px, 2vw, 30px);
    line-height: 1;
    font-weight: 900;
    text-align: center;
    white-space: nowrap;
    pointer-events: none;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 20px;
}

body.wm-site .anketa-card::after{
    display: none !important;
}

body.wm-site .anketa-gallery-item{
    position: relative;
}

body.wm-site .anketa-gallery-item::after{
    content: "Miracle-ladies";
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.13);
    font-size: clamp(18px, 2.3vw, 38px);
    line-height: 1;
    font-weight: 900;
    text-align: center;
    white-space: nowrap;
    pointer-events: none;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 16px;
}

body.wm-site .fancybox__content{
    position: relative;
}

body.wm-site .fancybox__content::after{
    content: "Miracle-ladies";
    position: absolute;
    inset: 0;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.13);
    font-size: clamp(22px, 4vw, 52px);
    line-height: 1;
    font-weight: 900;
    text-align: center;
    white-space: nowrap;
    pointer-events: none;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 20px;
}

/* ============================================================
   ШАПКА САЙТА
============================================================ */

body.wm-site header{
    position: relative;
    z-index: 1001;
    width: 100%;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0)),
        var(--bg-panel);
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

body.wm-site .header-inner{
    max-width: var(--site-max);
    margin: 0 auto;
    padding: 15px 0px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

body.wm-site .header-logo a{
    display: inline-flex;
    align-items: center;
    color: #ffffff;
    text-decoration: none;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: -0.4px;
}

body.wm-site .header-logo a:hover{
    color: var(--accent-hover);
}

body.wm-site .header-logo-image{
    display: block;
    height: 68px;
    width: auto;
    max-width: 210px;
    object-fit: contain;
}

body.wm-site .header-right{
    display: flex;
    align-items: center;
    gap: 28px;
}

body.wm-site .header-nav{
    display: flex;
    align-items: center;
    gap: 22px;
}

body.wm-site .header-nav a{
    position: relative;
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    color: rgba(255, 255, 255, 0.82);
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    white-space: nowrap;
}

body.wm-site .header-nav a:hover,
body.wm-site .header-nav a.current-page{
    color: #ffffff;
}

body.wm-site .header-nav a:hover::after,
body.wm-site .header-nav a.current-page::after{
    right: 0;
}

/* Кнопка Shorts */

body.wm-site .header-shorts-button{
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 38px;
    padding: 8px 14px !important;
    background: rgba(196, 69, 92, 0.1);
    color: var(--accent);
    border: 1px solid rgba(196, 69, 92, 0.34);
    border-radius: 999px;
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
}

body.wm-site .header-shorts-button:hover{
    background: rgba(196, 69, 92, 0.2);
    border-color: rgba(196, 69, 92, 0.58);
    color: #ffffff;
}

body.wm-site .header-shorts-icon{
    width: 20px;
    height: 20px;
    color: currentColor;
    flex-shrink: 0;
}

/* Избранное в шапке */

body.wm-site .header-favorites-link{
    display: inline-flex;
    margin-left: 4px;
}

body.wm-site .header-favorites{
    position: relative;
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(196, 69, 92, 0.1);
    border: 1px solid rgba(196, 69, 92, 0.34);
    border-radius: 999px;
    cursor: pointer;
    transition: background 0.18s ease, border-color 0.18s ease;
}

body.wm-site .header-favorites:hover{
    background: rgba(196, 69, 92, 0.2);
    border-color: rgba(196, 69, 92, 0.58);
}

body.wm-site .header-favorites-icon{
    width: 20px;
    height: 20px;
    stroke: var(--accent);
    fill: none;
}

body.wm-site .header-favorites:hover .header-favorites-icon{
    stroke: #ffffff;
    fill: var(--accent);
}

body.wm-site .header-favorites-count{
    position: absolute;
    top: -5px;
    right: -5px;
    min-width: 19px;
    height: 19px;
    padding: 0 5px;
    background: var(--accent);
    color: #ffffff;
    border: 2px solid var(--bg-panel);
    border-radius: 999px;
    font-size: 11px;
    line-height: 1;
    font-weight: 900;
    display: flex;
    align-items: center;
    justify-content: center;
}

body.wm-site .header-favorites-count.pulse{
    animation: favoritesPulse 0.6s ease;
}

@keyframes favoritesPulse {
    0% { opacity: 1; }
    50% { opacity: .55; }
    100% { opacity: 1; }
}

/* Аккаунт */

body.wm-site .header-account{
    position: relative;
}

body.wm-site .header-account-toggle{
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid transparent;
    padding: 6px 8px;
    cursor: pointer;
    border-radius: var(--radius-sm);
    transition: background 0.18s ease, border-color 0.18s ease;
}

body.wm-site .header-account-toggle:hover{
    background: rgba(255, 255, 255, 0.07);
    border-color: var(--border-subtle);
}

body.wm-site .header-account-avatar{
    width: 36px;
    height: 36px;
    border-radius: 999px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: var(--bg-panel-3);
}

body.wm-site .header-account-avatar img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

body.wm-site .header-account-text{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    color: rgba(255, 255, 255, 0.86);
}

body.wm-site .header-account-label{
    font-size: 10px;
    color: var(--text-soft);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

body.wm-site .header-account-name{
    max-width: 150px;
    color: #ffffff;
    font-weight: 700;
    font-size: 13px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

body.wm-site .header-account-menu{
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 9px;
    min-width: 230px;
    background: #262421;
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-md);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.18s ease, visibility 0.18s ease;
    z-index: 1000;
    overflow: hidden;
}

body.wm-site .header-account:hover .header-account-menu{
    opacity: 1;
    visibility: visible;
}

body.wm-site .header-account-menu-item{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 13px 16px;
    color: rgba(255, 255, 255, 0.82);
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    transition: background 0.18s ease, color 0.18s ease;
}

body.wm-site .header-account-menu-item:last-child{
    border-bottom: none;
}

body.wm-site .header-account-menu-item:hover{
    background: rgba(255, 255, 255, 0.055);
    color: #ffffff;
}

body.wm-site .header-account-menu-title{
    font-weight: 600;
    font-size: 13px;
}

body.wm-site .header-account-menu-amount{
    color: #ffffff;
    font-weight: 800;
    font-size: 13px;
}

body.wm-site .header-account-menu-divider{
    height: 1px;
    background: rgba(255, 255, 255, 0.07);
    margin: 4px 0;
}

body.wm-site .header-account-menu-item--logout:hover{
    background: rgba(196, 69, 92, 0.12);
    color: var(--accent-hover);
}

/* Гость */

body.wm-site .header-auth-links{
    display: flex;
    align-items: center;
    gap: 16px;
}

body.wm-site .header-auth-links a{
    color: rgba(255, 255, 255, 0.82);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
}

body.wm-site .header-auth-links a:hover,
body.wm-site .header-auth-register{
    color: var(--accent-hover);
}

body.wm-site .header-auth-sep{
    color: rgba(255, 255, 255, 0.24);
}

/* Мобильное меню */

body.wm-site .mobile-menu-toggle{
    display: none;
    background: transparent;
    border: none;
    width: 32px;
    height: 28px;
    padding: 0;
    cursor: pointer;
    flex-direction: column;
    justify-content: space-between;
    align-items: stretch;
    position: relative;
    z-index: 1002;
}

body.wm-site .mobile-menu-toggle-line{
    width: 100%;
    height: 2px;
    background: #ffffff;
    border-radius: 999px;
    transition: opacity 0.18s ease, background 0.18s ease;
}

body.wm-site .mobile-menu-toggle.active .mobile-menu-toggle-line:nth-child(2){
    opacity: 0.35;
}

body.wm-site .mobile-menu-overlay{
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.58);
    z-index: 1002;
    opacity: 0;
    transition: opacity 0.25s ease;
}

body.wm-site .mobile-menu-overlay.active{
    display: block;
    opacity: 1;
}

body.wm-site .mobile-menu{
    position: fixed;
    top: 0;
    left: -100%;
    width: min(88vw, 340px);
    height: 100vh;
    height: 100dvh;
    max-height: 100dvh;
    background: var(--bg-panel);
    z-index: 1003;
    transition: left 0.25s ease;
    display: flex;
    flex-direction: column;
    border-right: 1px solid rgba(255, 255, 255, 0.08);
}

body.wm-site .mobile-menu.active{
    left: 0;
}

body.wm-site .mobile-menu-header{
    flex: 0 0 auto;
    min-height: 68px;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--bg-panel);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

body.wm-site .mobile-menu-header__title{
    color: #fff;
    font-size: 17px;
    font-weight: 800;
}

body.wm-site .mobile-menu-close{
    background: rgba(255, 255, 255, 0.055);
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: var(--radius-sm);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #ffffff;
}

body.wm-site .mobile-menu-close:hover{
    color: var(--accent-hover);
    background: rgba(196, 69, 92, 0.12);
}

body.wm-site .mobile-menu-content{
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    padding: 10px 0 max(24px, env(safe-area-inset-bottom));
}

body.wm-site .mobile-menu-link,
body.wm-site .mobile-shorts-button,
body.wm-site .mobile-favorites{
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    color: rgba(255, 255, 255, 0.82);
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    border-left: 3px solid transparent;
    transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

body.wm-site .mobile-menu-link:hover,
body.wm-site .mobile-shorts-button:hover,
body.wm-site .mobile-favorites:hover{
    background: rgba(196, 69, 92, 0.1);
    color: #ffffff;
    border-left-color: var(--accent);
}

body.wm-site .mobile-menu-link--register,
body.wm-site .mobile-menu-link--logout{
    color: var(--accent-hover);
}

body.wm-site .mobile-menu-divider{
    height: 1px;
    background: rgba(255, 255, 255, 0.08);
    margin: 15px 20px;
}

body.wm-site .mobile-menu-user{
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 20px;
    margin-bottom: 8px;
}

body.wm-site .mobile-menu-user-avatar{
    width: 50px;
    height: 50px;
    border-radius: 999px;
    border: 2px solid var(--accent);
    object-fit: cover;
}

body.wm-site .mobile-menu-user-name{
    color: #ffffff;
    font-weight: 800;
    font-size: 16px;
    margin-bottom: 4px;
}

body.wm-site .mobile-menu-user-balance{
    color: var(--text-soft);
    font-size: 14px;
}

body.wm-site .mobile-shorts-icon,
body.wm-site .mobile-favorites svg{
    width: 20px;
    height: 20px;
    color: var(--accent);
    stroke: var(--accent);
    fill: none;
}

body.wm-site .mobile-favorites-count{
    margin-left: auto;
    background: var(--accent);
    color: #ffffff;
    border-radius: 999px;
    min-width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 900;
    padding: 0 5px;
}

/* ============================================================
   ПОДВАЛ САЙТА
============================================================ */

body.wm-site .footer{
    background:
        linear-gradient(180deg, rgba(255,255,255,0.025), rgba(255,255,255,0)),
        #242220;
    padding: 50px 20px 30px;
    color: #ffffff;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
}

body.wm-site .footer__inner{
    max-width: 1350px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(260px, 1.3fr) repeat(2, minmax(180px, 1fr));
    gap: 44px;
    align-items: flex-start;
}

body.wm-site .footer__left-logo{
    margin-bottom: 22px;
}

body.wm-site .footer__left-logo a{
    display: inline-block;
    text-decoration: none;
}

body.wm-site .footer__left-logo img{
    display: block;
    height: 60px;
    width: auto;
    max-width: 200px;
    object-fit: contain;
}

body.wm-site .footer__left-text{
    max-width: 330px;
    margin-top: 10px;
    color: rgba(255, 255, 255, 0.62);
    font-size: 14px;
    line-height: 1.65;
}

body.wm-site .footer__column{
    min-width: 0;
}

body.wm-site .footer__column-title{
    position: relative;
    margin: 0 0 18px;
    padding-bottom: 10px;
    color: #ffffff;
    font-size: 16px;
    line-height: 1.2;
    font-weight: 800;
}

body.wm-site .footer__column-title::after{
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 42px;
    height: 2px;
    background: var(--accent);
    border-radius: 999px;
}

body.wm-site .footer__menu,
body.wm-site .footer__info{
    display: flex;
    flex-direction: column;
    gap: 11px;
}

body.wm-site .footer__menu a,
body.wm-site .footer__info a{
    position: relative;
    color: rgba(255, 255, 255, 0.62);
    text-decoration: none;
    font-size: 14px;
    line-height: 1.35;
    padding: 3px 0;
}

body.wm-site .footer__menu a:hover,
body.wm-site .footer__info a:hover{
    color: #ffffff;
}

body.wm-site .footer__bottom{
    max-width: 1350px;
    margin: 44px auto 0;
    padding-top: 26px;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: rgba(255, 255, 255, 0.46);
    font-size: 13px;
    gap: 20px;
}

body.wm-site .footer__bottom-copy{
    color: rgba(255, 255, 255, 0.46);
}

body.wm-site .footer__bottom-links{
    display: flex;
    align-items: center;
    gap: 14px;
}

body.wm-site .footer__bottom-links a{
    color: rgba(255, 255, 255, 0.62);
    text-decoration: none;
    font-size: 13px;
}

body.wm-site .footer__bottom-links a:hover{
    color: #ffffff;
}

body.wm-site .footer__bottom-links span{
    color: rgba(255, 255, 255, 0.28);
}

/* ============================================================
   СТРАНИЦА АНКЕТ / ОБЩИЕ ОБЁРТКИ
============================================================ */

body.wm-site .ankety-wrapper,
body.wm-site .ankety-wrapper_top{
    max-width: var(--site-max);
    margin: 0 auto;
    padding: 30px 0;
    min-height: calc(100vh - 80px);
}

body.wm-site .ankety-header{
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 26px;
    flex-wrap: wrap;
    gap: 16px;
}

body.wm-site .ankety-title{
    flex: 1;
    min-width: 0;
    margin: 0;
    color: #ffffff;
    font-size: clamp(30px, 3vw, 42px);
    line-height: 1.1;
    font-weight: 850;
    letter-spacing: -0.04em;
}

body.wm-site .ankety-counter{
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 18px;
    background: rgba(196, 69, 92, 0.1);
    border: 1px solid rgba(196, 69, 92, 0.32);
    border-radius: 999px;
}

body.wm-site .counter-number{
    color: var(--accent-hover);
    font-size: 28px;
    line-height: 1;
    font-weight: 900;
}

body.wm-site .counter-text{
    color: rgba(255, 255, 255, 0.86);
    font-size: 14px;
    line-height: 1.2;
    font-weight: 700;
    white-space: nowrap;
}

/* ============================================================
   ФИЛЬТР
============================================================ */

body.wm-site .wm-filter-panel{
    background:
        radial-gradient(circle at top left, rgba(196, 69, 92, 0.08), transparent 260px),
        var(--bg-panel-2);
    padding: 20px;
    margin-bottom: 28px;
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
}

body.wm-site .wm-filter-row{
    display: grid;
    gap: 22px;
}

body.wm-site .wm-filter-row--sliders{
    grid-template-columns: repeat(4, minmax(0, 1fr));
    align-items: start;
    margin-bottom: 18px;
}

body.wm-site .wm-filter-row--inputs{
    grid-template-columns: repeat(4, minmax(0, 1fr));
    align-items: start;
    margin-bottom: 16px;
}

body.wm-site .wm-filter-row--services,
body.wm-site .wm-filter-row--districts,
body.wm-site .wm-filter-row--taxonomies{
    grid-template-columns: 1fr;
    margin-bottom: 16px;
}

body.wm-site .wm-filter-row--bottom{
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 18px;
}

body.wm-site .wm-filter-block,
body.wm-site .wm-filter-block--services,
body.wm-site .wm-filter-block--taxonomies{
    min-width: 0;
}

body.wm-site .wm-filter-label{
    margin-bottom: 8px;
    color: #ffffff;
    font-size: 14px;
    line-height: 1.2;
    font-weight: 800;
}

body.wm-site .wm-input{
    width: 100%;
    height: 38px;
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: var(--radius-sm);
    padding: 0 12px;
    color: #ffffff;
    background: rgba(0, 0, 0, 0.18);
    font-size: 13px;
}

body.wm-site .wm-input:focus{
    outline: none;
    border-color: rgba(196, 69, 92, 0.75);
    background: rgba(0, 0, 0, 0.26);
}

body.wm-site .wm-input::placeholder{
    color: rgba(255, 255, 255, 0.34);
}

body.wm-site .wm-input-search{
    width: 100%;
}

body.wm-site .wm-input-select{
    min-height: 120px;
    height: auto;
    padding: 8px 10px;
}

/* Range */

body.wm-site .wm-range{
    user-select: none;
}

body.wm-site .wm-range-current{
    display: flex;
    justify-content: space-between;
    margin-bottom: 7px;
    color: rgba(255, 255, 255, 0.86);
    font-size: 12px;
    font-weight: 700;
}

body.wm-site .wm-range-wrap{
    position: relative;
    height: 24px;
}

body.wm-site .wm-range-track{
    position: absolute;
    left: 0;
    right: 0;
    top: 11px;
    height: 4px;
    background: rgba(196, 69, 92, 0.32);
    border-radius: 999px;
}

body.wm-site .wm-range-fill{
    position: absolute;
    inset: 0 auto 0 0;
    width: 100%;
    background: var(--accent);
    border-radius: 999px;
}

body.wm-site .wm-range-input{
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 24px;
    margin: 0;
    background: transparent;
    -webkit-appearance: none;
    appearance: none;
    pointer-events: none;
}

body.wm-site .wm-range-input::-webkit-slider-runnable-track{
    height: 4px;
    background: transparent;
    border: none;
}

body.wm-site .wm-range-input::-moz-range-track{
    height: 4px;
    background: transparent;
    border: none;
}

body.wm-site .wm-range-input::-webkit-slider-thumb{
    -webkit-appearance: none;
    appearance: none;
    width: 18px;
    height: 18px;
    border-radius: 999px;
    background: #ffffff;
    border: 2px solid rgba(196, 69, 92, 0.86);
    pointer-events: auto;
    cursor: pointer;
    margin-top: -7px;
}

body.wm-site .wm-range-input::-moz-range-thumb{
    width: 18px;
    height: 18px;
    border-radius: 999px;
    background: #ffffff;
    border: 2px solid rgba(196, 69, 92, 0.86);
    pointer-events: auto;
    cursor: pointer;
}

body.wm-site .wm-range-limits{
    display: flex;
    justify-content: space-between;
    margin-top: 4px;
    color: rgba(255, 255, 255, 0.42);
    font-size: 12px;
}

body.wm-site .wm-two-inputs{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

/* Услуги / районы */

body.wm-site .wm-services-desktop,
body.wm-site .wm-districts-desktop{
    display: block;
}

body.wm-site .wm-services-mobile,
body.wm-site .wm-districts-mobile{
    display: none;
}

body.wm-site .wm-services-grid,
body.wm-site .wm-districts-grid{
    margin: 0 auto;
    padding: 12px;
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, .10);
    background: rgba(0, 0, 0, .13);
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px 14px;
    max-height: 150px;
    overflow: auto;
}

body.wm-site .wm-services-grid::-webkit-scrollbar,
body.wm-site .wm-districts-grid::-webkit-scrollbar,
body.wm-site .wm-filter-panel::-webkit-scrollbar{
    width: 6px;
}

body.wm-site .wm-services-grid::-webkit-scrollbar-track,
body.wm-site .wm-districts-grid::-webkit-scrollbar-track,
body.wm-site .wm-filter-panel::-webkit-scrollbar-track{
    background: rgba(255,255,255,0.04);
    border-radius: 999px;
}

body.wm-site .wm-services-grid::-webkit-scrollbar-thumb,
body.wm-site .wm-districts-grid::-webkit-scrollbar-thumb,
body.wm-site .wm-filter-panel::-webkit-scrollbar-thumb{
    background: rgba(196, 69, 92, 0.75);
    border-radius: 999px;
}

body.wm-site .wm-service-item,
body.wm-site .wm-district-item{
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 40px;
    padding: 10px 12px;
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, .10);
    background: rgba(0, 0, 0, .10);
    cursor: pointer;
    user-select: none;
    transition: border-color .18s ease, background .18s ease;
}

body.wm-site .wm-service-item:hover,
body.wm-site .wm-district-item:hover{
    border-color: rgba(196, 69, 92, .55);
    background: rgba(196, 69, 92, .10);
}

body.wm-site .wm-service-check,
body.wm-site .wm-district-check{
    width: 18px;
    height: 18px;
    accent-color: var(--accent);
    cursor: pointer;
    flex: 0 0 auto;
}

body.wm-site .wm-service-text,
body.wm-site .wm-district-text{
    color: #ffffff;
    font-size: 13px;
    line-height: 1.25;
}

body.wm-site .wm-districts-links{
    margin-top: 10px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

body.wm-site .wm-district-link{
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 6px 12px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 999px;
    color: #ffffff;
    text-decoration: none;
    font-size: 13px;
    transition: background 0.18s ease, border-color 0.18s ease;
}

body.wm-site .wm-district-link:hover{
    background: var(--accent);
    border-color: var(--accent);
    color: #ffffff;
}

body.wm-site .wm-districts-toggle{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 34px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, .15);
    border-radius: var(--radius-xs);
    color: #ffffff;
    font-size: 18px;
    line-height: 1;
    padding: 0 10px;
    margin-left: auto;
    cursor: pointer;
    transition: background 0.18s ease, border-color 0.18s ease;
}

body.wm-site .wm-districts-toggle:hover{
    background: rgba(196, 69, 92, 0.2);
    border-color: rgba(196, 69, 92, 0.5);
}

/* Сворачиваемые таксономии */

body.wm-site .wm-filter-block--taxonomies{
    display: flex;
    flex-direction: column;
    gap: 10px;
}

body.wm-site .wm-tax-item{
    background: rgba(0, 0, 0, 0.16);
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.10);
    padding: 11px 12px;
}

body.wm-site .wm-tax-header{
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    user-select: none;
}

body.wm-site .wm-tax-label{
    color: #ffffff;
    font-weight: 800;
    font-size: 14px;
}

body.wm-site .wm-collapse-btn{
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid transparent;
    color: #ffffff;
    font-size: 20px;
    line-height: 1;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border-radius: var(--radius-xs);
    transition: background 0.18s ease, border-color 0.18s ease;
}

body.wm-site .wm-collapse-btn:hover{
    background: rgba(196, 69, 92, 0.16);
    border-color: rgba(196, 69, 92, 0.3);
}

body.wm-site .wm-collapse-content{
    max-height: 700px;
    overflow: hidden;
    opacity: 1;
    transition: max-height 0.25s ease, opacity 0.25s ease, margin 0.25s ease;
}

body.wm-site .wm-collapse-content.collapsed{
    max-height: 0 !important;
    opacity: 0;
    margin-top: 0;
}

body.wm-site .wm-tax-links{
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-top: 9px;
}

body.wm-site .wm-tax-link{
    color: rgba(255, 255, 255, 0.72);
    text-decoration: none;
    font-size: 13px;
    padding: 5px 0;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.1);
}

body.wm-site .wm-tax-link:hover{
    color: var(--accent-hover);
}

/* Чекбоксы и кнопки фильтра */

body.wm-site .wm-checks{
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

body.wm-site .wm-check{
    display: flex;
    align-items: center;
    gap: 10px;
    color: #ffffff;
    font-size: 13px;
    cursor: pointer;
}

body.wm-site .wm-check input{
    width: 20px;
    height: 20px;
    accent-color: var(--accent);
    cursor: pointer;
}

body.wm-site .wm-check-text{
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

body.wm-site .wm-check-ico{
    width: 20px;
    height: 20px;
    object-fit: contain;
    flex: 0 0 auto;
    opacity: .95;
}

body.wm-site .wm-actions{
    display: flex;
    gap: 14px;
}

body.wm-site .wm-btn{
    min-width: 170px;
    height: 44px;
    border: none;
    cursor: pointer;
    font-weight: 800;
    letter-spacing: 0.2px;
    border-radius: 999px;
    color: #ffffff;
    transition: background 0.18s ease, border-color 0.18s ease, opacity 0.18s ease;
}

body.wm-site .wm-btn-apply{
    background: var(--accent);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

body.wm-site .wm-btn-apply:hover{
    background: var(--accent-hover);
}

body.wm-site .wm-btn-reset{
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.14);
}

body.wm-site .wm-btn-reset:hover{
    background: rgba(255, 255, 255, 0.1);
}

body.wm-site .wm-btn:disabled{
    opacity: 0.65;
    cursor: default;
}

body.wm-site .wm-apply-count{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 34px;
    height: 24px;
    padding: 0 8px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .14);
    border: 1px solid rgba(255, 255, 255, .18);
    font-size: 13px;
    font-weight: 900;
}

/* ============================================================
   РЕЗУЛЬТАТЫ / КАРТОЧКИ АНКЕТ
============================================================ */

body.wm-site .wm-results{
    position: relative;
}

body.wm-site .grid{
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 26px;
    max-width: var(--content-max);
    margin: 0 auto;
}

body.wm-site .card{
    position: relative;
    overflow: hidden;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0)),
        var(--bg-panel);
    border-radius: var(--radius-xl);
    padding: 16px;
    border: 1px solid rgba(255, 255, 255, 0.09);
    transition: border-color 0.18s ease, background 0.18s ease;
}

body.wm-site .card:hover{
    border-color: rgba(196, 69, 92, 0.55);
    background:
        radial-gradient(circle at top left, rgba(196, 69, 92, 0.08), transparent 260px),
        var(--bg-panel);
}

body.wm-site .head{
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    margin-bottom: 12px;
}

body.wm-site .name{
    margin: 0;
    color: #ffffff;
    font-weight: 900;
    font-size: 22px;
    line-height: 1.15;
    letter-spacing: -0.02em;
}

body.wm-site .fav{
    width: 32px;
    height: 32px;
    display: grid;
    place-items: center;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 999px;
    padding: 0;
    cursor: pointer;
}

body.wm-site .fav svg{
    width: 18px;
    height: 18px;
    transition: fill 0.18s ease, stroke 0.18s ease;
}

body.wm-site .fav.active svg{
    fill: var(--accent);
    stroke: var(--accent);
}

body.wm-site .top{
    display: flex;
    gap: 14px;
    align-items: flex-start;
    margin-bottom: 12px;
}

body.wm-site .media{
    position: relative;
    width: 500px;
    height: 550px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: #000000;
    display: block;
}

body.wm-site .media img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

body.wm-site .stats{
    width: 78px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

body.wm-site .stat{
    background: rgba(255,255,255,0.055);
    border: 1px solid rgba(255,255,255,0.09);
    border-radius: var(--radius-md);
    padding: 10px 8px;
    text-align: center;
    line-height: 1.05;
}

body.wm-site .stat .k{
    display: block;
    margin-bottom: 9px;
    color: rgba(255,255,255,0.72);
    font-size: 12px;
}

body.wm-site .stat .v{
    color: var(--accent-hover);
    font-size: 14px;
    font-weight: 900;
    letter-spacing: .2px;
}

body.wm-site .anketa-icons{
    position: absolute;
    top: 50px;
    right: 88px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255,255,255,0.14);
    border-radius: 999px;
    z-index: 3;
    padding: 0;
}

body.wm-site .anketa-icon{
    width: 50px;
    height: 50px;
    border-radius: var(--radius-md);
    padding: 5px;
    transition: background 0.18s ease;
}

body.wm-site .anketa-icon:hover{
    background: rgba(255,255,255,0.12);
}

body.wm-site .anketa-icon img{
    width: 100%;
    height: 100%;
    object-fit: contain;
}

body.wm-site .anketa-icon.map-stat{
    background: transparent !important;
    padding: 0 !important;
    display: flex;
    align-items: center;
    justify-content: center;
}

body.wm-site .anketa-icon.map-stat .v.map-trigger{
    display: flex;
    align-items: center;
    justify-content: center;
    width: 43px;
    height: 43px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(196, 69, 92, 0.45);
    color: var(--accent);
    cursor: pointer;
    transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

body.wm-site .anketa-icon.map-stat .v.map-trigger:hover{
    background: var(--accent);
    border-color: var(--accent);
    color: #ffffff;
}

body.wm-site .anketa-icon.map-stat .v.map-trigger svg{
    width: 24px;
    height: 24px;
    stroke: currentColor;
    stroke-width: 2;
}

body.wm-site .actions{
    margin-top: 12px;
    display: flex;
    gap: 10px;
    align-items: center;
}

body.wm-site .btn-main{
    flex: 1;
    min-height: 44px;
    border-radius: 999px;
    background: var(--accent);
    border: 1px solid var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-weight: 800;
    color: #ffffff;
    cursor: pointer;
    transition: background 0.18s ease, border-color 0.18s ease;
}

body.wm-site .btn-main:hover{
    background: var(--accent-hover);
    border-color: var(--accent-hover);
    color: #ffffff;
}

body.wm-site .btn-main svg{
    width: 18px;
    height: 18px;
    stroke: #ffffff;
}

body.wm-site .btn-icon{
    width: 44px;
    height: 44px;
    border-radius: 999px;
    background: rgba(255,255,255,0.055);
    border: 1px solid rgba(255,255,255,0.1);
    display: grid;
    place-items: center;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.18s ease, border-color 0.18s ease;
}

body.wm-site .btn-icon:hover{
    background: rgba(255,255,255,0.1);
}

body.wm-site .btn-icon svg{
    width: 20px;
    height: 20px;
    display: block;
}

body.wm-site .btn-icon.wa{
    background: rgba(91, 191, 58, 0.12);
    border-color: rgba(91, 191, 58, 0.55);
}

body.wm-site .btn-icon.wa svg,
body.wm-site .btn-icon.wa svg path,
body.wm-site .btn-icon.wa svg circle{
    stroke: #5bbf3a !important;
    fill: none;
}

body.wm-site .btn-icon.wa:hover{
    background: rgba(91, 191, 58, 0.22);
    border-color: rgba(91, 191, 58, 0.85);
}

body.wm-site .btn-icon.tg{
    background: rgba(42, 166, 255, 0.12);
    border-color: rgba(42, 166, 255, 0.55);
}

body.wm-site .btn-icon.tg svg,
body.wm-site .btn-icon.tg svg path,
body.wm-site .btn-icon.tg svg circle{
    stroke: #2aa6ff !important;
    fill: none;
}

body.wm-site .btn-icon.tg:hover{
    background: rgba(42, 166, 255, 0.22);
    border-color: rgba(42, 166, 255, 0.85);
}

body.wm-site .prices{
    margin-top: 12px;
    background: rgba(255,255,255,0.055);
    border: 1px solid rgba(255,255,255,0.09);
    border-radius: var(--radius-lg);
    padding: 14px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px 22px;
}

body.wm-site .price{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    font-size: 13px;
}

body.wm-site .meta{
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255,255,255,0.52);
    white-space: nowrap;
}

body.wm-site .meta svg{
    width: 16px;
    height: 16px;
    opacity: .85;
    stroke: rgba(255,255,255,0.52);
}

body.wm-site .amount{
    font-weight: 900;
    font-variant-numeric: tabular-nums;
    letter-spacing: .2px;
}

body.wm-site .amount.hot{
    color: var(--accent-hover);
}

body.wm-site .amount.no{
    color: var(--text-soft);
}

/* Плашки */

body.wm-site .top-card::before{
    content: "ТОП";
    position: absolute;
    top: 50px;
    left: 15px;
    background: var(--accent);
    color: #ffffff;
    padding: 5px 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 900;
    z-index: 10;
    letter-spacing: 0.5px;
}

body.wm-site .new-badge{
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 3;
    background: var(--accent);
    color: #ffffff;
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 12px;
    line-height: 1;
    font-weight: 900;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: 2px solid rgba(255, 255, 255, 0.16);
    animation: wmNewPulse 2s infinite;
}

@keyframes wmNewPulse {
    0% { opacity: 1; }
    50% { opacity: .72; }
    100% { opacity: 1; }
}

body.wm-site .new-icon{
    display: inline-block;
}

/* Загрузка */

body.wm-site .wm-loading{
    position: absolute;
    inset: 0;
    background: rgba(20, 19, 18, 0.72);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
    border-radius: var(--radius-lg);
}

body.wm-site .wm-spinner{
    width: 34px;
    height: 34px;
    border: 3px solid rgba(255, 255, 255, 0.18);
    border-top-color: var(--accent);
    border-radius: 999px;
    animation: wmSpin 0.8s linear infinite;
}

@keyframes wmSpin {
    to {
        rotate: 360deg;
    }
}

/* ============================================================
   ТОП-СЛАЙДЕР
============================================================ */

body.wm-site .wm-top-wrap{
    position: relative;
    overflow: hidden;
    min-height: 300px;
    margin: 10px 0 22px;
}

body.wm-site .wm-top-wrap::before{
    content: "ТОП АНКЕТЫ";
    position: absolute;
    left: 0;
    right: 0;
    top: 35%;
    z-index: 0;
    color: rgba(255, 59, 114, 0.07);
    font-size: clamp(54px, 8vw, 120px);
    line-height: 1;
    font-weight: 950;
    text-align: center;
    white-space: nowrap;
    pointer-events: none;
    letter-spacing: 5px;
}

body.wm-site .wm-top-wrap > *{
    position: relative;
    z-index: 1;
}

body.wm-site .wm-top-head{
    display: flex;
    justify-content: center;
    margin: 0 0 14px;
}

body.wm-site .wm-top-title{
    position: relative;
    margin: 0;
    padding-bottom: 18px;
    color: #ffffff;
    font-size: clamp(25px, 3vw, 35px);
    line-height: 1.15;
    font-weight: 900;
    letter-spacing: -0.02em;
    text-align: center;
}

body.wm-site .wm-top-title::after{
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    margin-left: -30px;
    width: 60px;
    height: 2px;
    background: var(--accent);
    border-radius: 999px;
}

body.wm-site .wm-top-slider{
    position: relative;
    width: 100%;
    padding: 10px 0 54px;
    margin: 0 0 20px;
}

body.wm-site .wm-top-slider .swiper-slide{
    height: auto;
}

body.wm-site .wm-top-slider .swiper-wrapper{
    align-items: stretch;
	height: auto;
}

body.wm-site .wm-top-slider .card{
    height: 100%;
}

/* Кнопки и точки Swiper под стиль сайта */

body.wm-site .ankety-wrapper_top .wm-top-slider .swiper-button-next,
body.wm-site .ankety-wrapper_top .wm-top-slider .swiper-button-prev{
    width: 46px;
    height: 46px;
    border-radius: 999px;
    background: rgba(35, 34, 32, 0.92);
    border: 1px solid rgba(196, 69, 92, 0.45);
    color: #ffffff;
    transition: background 0.2s ease, border-color 0.2s ease, opacity 0.2s ease;
}

body.wm-site .ankety-wrapper_top .wm-top-slider .swiper-button-next::after,
body.wm-site .ankety-wrapper_top .wm-top-slider .swiper-button-prev::after{
    color: #ffffff;
    font-size: 16px;
    font-weight: 900;
}

body.wm-site .ankety-wrapper_top .wm-top-slider .swiper-button-next:hover,
body.wm-site .ankety-wrapper_top .wm-top-slider .swiper-button-prev:hover{
    background: var(--accent);
    border-color: var(--accent);
}

body.wm-site .ankety-wrapper_top .wm-top-slider .swiper-button-prev{
    left: 8px;
}

body.wm-site .ankety-wrapper_top .wm-top-slider .swiper-button-next{
    right: 8px;
}

body.wm-site .ankety-wrapper_top .wm-top-slider .swiper-button-disabled{
    opacity: 0.35;
}

body.wm-site .ankety-wrapper_top .wm-top-slider .swiper-pagination{
    bottom: 0px !important;
}

body.wm-site .ankety-wrapper_top .wm-top-slider .swiper-pagination-bullet{
    width: 8px;
    height: 8px;
    background: rgba(255, 255, 255, 0.32);
    opacity: 1;
    border-radius: 999px;
    transition: width 0.2s ease, background 0.2s ease;
}

body.wm-site .ankety-wrapper_top .wm-top-slider .swiper-pagination-bullet-active{
    width: 26px;
    background: var(--accent);
}

body.wm-site .ankety-wrapper_top .wm-top-slider .swiper-button-next:focus,
body.wm-site .ankety-wrapper_top .wm-top-slider .swiper-button-prev:focus,
body.wm-site .ankety-wrapper_top .wm-top-slider .swiper-pagination-bullet:focus{
    outline: none;
}

body.wm-site .wm-top-description{
    margin: 24px auto 0;
    padding: 20px 24px;
    background: rgba(0, 0, 0, 0.18);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

body.wm-site .wm-top-description p{
    margin: 0;
    color: rgba(255,255,255,0.78);
    font-size: 15px;
    line-height: 1.55;
    text-align: center;
}

/* ============================================================
   ПАГИНАЦИЯ
============================================================ */

body.wm-site .ankety-pagination ul{
    list-style: none;
    display: flex;
    gap: 10px;
    justify-content: center;
    padding: 0;
    margin: 24px 0 0;
}

body.wm-site .ankety-pagination li{
    margin: 0;
}

body.wm-site .ankety-pagination .page-numbers{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 10px;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(255,255,255,0.1);
    color: #ffffff;
    text-decoration: none;
    background: rgba(255,255,255,0.055);
}

body.wm-site .ankety-pagination .page-numbers:hover,
body.wm-site .ankety-pagination .page-numbers.current{
    border-color: rgba(196, 69, 92, 0.7);
    background: rgba(196, 69, 92, 0.16);
}

/* ============================================================
   ПОПАП КАРТЫ — MIRACLE
   Работает с твоим JS без блока wm-map-anketa-info
============================================================ */

body.wm-site .wm-map-popup{
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background:
        radial-gradient(circle at center, rgba(196, 69, 92, 0.16), transparent 460px),
        rgba(0, 0, 0, 0.84);
}

body.wm-site .wm-map-popup-content{
    position: relative;
    width: min(94vw, 920px);
    max-width: 920px;
    padding: 18px;
    border-radius: var(--radius-xl);
    background:
        radial-gradient(circle at top left, rgba(196, 69, 92, 0.14), transparent 280px),
        linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0)),
        var(--bg-panel);
    border: 1px solid rgba(196, 69, 92, 0.34);
    color: var(--text-main);
    overflow: hidden;
}

body.wm-site .wm-map-popup-content::before{
    content: "";
    position: absolute;
    left: 18px;
    right: 18px;
    top: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    opacity: 0.9;
}

body.wm-site .wm-map-popup-close{
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 5;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border-radius: 999px;
    background: rgba(35, 34, 32, 0.94);
    border: 1px solid rgba(255, 255, 255, 0.14);
    color: #ffffff;
    font-size: 30px;
    line-height: 1;
    font-weight: 300;
    cursor: pointer;
    transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

body.wm-site .wm-map-popup-close:hover{
    background: var(--accent);
    border-color: var(--accent);
    color: #ffffff;
}

body.wm-site #wm-map-container{
    width: 100% !important;
    height: 500px !important;
    overflow: hidden;
    border-radius: calc(var(--radius-xl) - 6px);
    background: var(--bg-panel-3);
    border: 1px solid rgba(255, 255, 255, 0.10);
}

body.wm-site .wm-map-popup #wm-map-container[style]{
    height: 500px !important;
}

body.wm-site .wm-map-anketa-info,
body.wm-site #wm-map-anketa-info{
    display: none !important;
}

body.wm-site .map-stat .v{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    color: var(--accent);
}

body.wm-site .map-stat .v svg{
    width: 18px;
    height: 18px;
}

/* ============================================================
   СТАТЬЯ / SEO-БЛОК
============================================================ */

body.wm-site .ml-section{
    --ml-card: #2b262b;
    --ml-stroke: rgba(255, 255, 255, .09);
    --ml-pink: #c04c74;
    --ml-text: #ece7ef;
    --ml-muted: rgba(236, 231, 239, .76);

    padding: 28px 18px;
    background:
        radial-gradient(800px 320px at 50% 0%, rgba(255, 255, 255, .045), transparent 60%),
        #1a1a1a;
    border-radius: var(--radius-lg);
    color: var(--ml-text);
}

body.wm-site .ml-wrap{
    max-width: 1350px;
    margin: 0 auto;
}

body.wm-site .ml-title{
    margin: 8px 0 10px;
    text-align: center;
    font-weight: 850;
    letter-spacing: -0.02em;
    font-size: clamp(22px, 2.4vw, 28px);
}

body.wm-site .ml-star{
    display: flex;
    justify-content: center;
    margin: 8px 0 18px;
}

body.wm-site .ml-star svg{
    fill: none;
    stroke: var(--ml-pink);
    stroke-width: 2;
}

body.wm-site .ml-grid{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
    margin-top: 10px;
}

body.wm-site .ml-card{
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, rgba(255, 255, 255, .035), rgba(255, 255, 255, .012));
    border: 1px solid var(--ml-stroke);
    border-radius: var(--radius-lg);
    padding: 22px;
}

body.wm-site .ml-card__head{
    position: relative;
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 10px;
}

body.wm-site .ml-ico{
    width: 42px;
    height: 42px;
    border-radius: var(--radius-md);
    display: grid;
    place-items: center;
    background: rgba(192, 76, 116, .10);
    border: 1px solid rgba(192, 76, 116, .22);
}

body.wm-site .ml-ico img{
    width: 30px;
    height: 30px;
    object-fit: contain;
}

body.wm-site .ml-card__title{
    color: var(--ml-pink);
    font-size: 18px;
    line-height: 1.2;
    font-weight: 850;
}

body.wm-site .ml-card__text{
    color: var(--ml-muted);
    font-size: 14.5px;
    line-height: 1.65;
    max-width: 56ch;
}

body.wm-site .ml-note{
    margin-top: 22px;
    padding: 22px 26px;
    border-radius: var(--radius-lg);
    background: linear-gradient(180deg, rgba(255, 255, 255, .035), rgba(255, 255, 255, .012));
    border: 1px solid var(--ml-stroke);
}

body.wm-site .ml-note p{
    margin: 0;
    color: rgba(236, 231, 239, .80);
    font-size: 15px;
    line-height: 1.75;
}

body.wm-site .ml-alert{
    margin-top: 18px;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, .95);
    color: #2a222a;
    border: 2px solid #e23a3a;
    padding: 12px 16px 14px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

body.wm-site .ml-alert__x{
    width: 40px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
}

body.wm-site .ml-alert__x svg{
    fill: #e23a3a;
}

body.wm-site .ml-alert__text{
    text-align: center;
    font-size: 15px;
    line-height: 1.55;
    font-weight: 600;
}

/* ============================================================
   FAQ
============================================================ */

body.wm-site .faq-wrap{
    min-height: calc(100vh - 80px);
    padding: 30px 20px;
}

body.wm-site .faq-container{
    max-width: 1350px;
    margin: 0 auto;
}

body.wm-site .faq-main-title{
    position: relative;
    margin: 0 0 28px;
    padding-bottom: 18px;
    color: #ffffff;
    font-size: clamp(26px, 3vw, 34px);
    line-height: 1.15;
    font-weight: 850;
    text-align: center;
}

body.wm-site .faq-main-title::after{
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    margin-left: -30px;
    width: 60px;
    height: 2px;
    background: var(--accent);
    border-radius: 999px;
}

body.wm-site .faq-content{
    margin: 0 auto;
}

body.wm-site .faq-section{
    margin-bottom: 34px;
    background: var(--bg-panel);
    border-radius: var(--radius-md);
    border: 1px solid rgba(255,255,255,0.09);
    padding: 22px;
}

body.wm-site .faq-question-item{
    margin-bottom: 14px;
    background: rgba(255,255,255,0.045);
    border-radius: var(--radius-sm);
    border: 1px solid rgba(255,255,255,0.09);
    overflow: hidden;
    transition: border-color 0.18s ease, background 0.18s ease;
}

body.wm-site .faq-question-item:last-child{
    margin-bottom: 0;
}

body.wm-site .faq-question-item.active{
    border-color: rgba(196, 69, 92, 0.6);
    background: rgba(196, 69, 92, 0.08);
}

body.wm-site .faq-question-header{
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 17px 18px;
    cursor: pointer;
}

body.wm-site .faq-question-header:hover{
    background: rgba(255, 255, 255, 0.025);
}

body.wm-site .marker-number{
    width: 32px;
    height: 32px;
    background: rgba(255,255,255,0.07);
    color: rgba(255,255,255,0.65);
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 850;
}

body.wm-site .faq-question-item.active .marker-number{
    background: var(--accent);
    color: #ffffff;
}

body.wm-site .faq-question-title{
    flex: 1;
    margin: 0;
    color: #ffffff;
    font-size: 16px;
    line-height: 1.4;
    font-weight: 700;
}

body.wm-site .faq-toggle-btn{
    background: rgba(255,255,255,0.045);
    border: 1px solid transparent;
    color: rgba(255,255,255,0.65);
    font-size: 20px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.18s ease, color 0.18s ease;
    border-radius: var(--radius-xs);
}

body.wm-site .faq-toggle-btn:hover{
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
}

body.wm-site .faq-answer{
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.25s ease;
}

body.wm-site .faq-question-item.active .faq-answer{
    max-height: 1000px;
}

body.wm-site .faq-answer-content{
    padding: 0 20px 20px 64px;
    color: rgba(255,255,255,0.68);
    font-size: 14px;
    line-height: 1.65;
}

body.wm-site .faq-answer-content p{
    margin: 0 0 15px;
}

body.wm-site .faq-help{
    margin-top: 44px;
    background: var(--bg-panel);
    border-radius: var(--radius-md);
    border: 1px solid rgba(255,255,255,0.09);
    padding: 30px;
    text-align: center;
}

body.wm-site .faq-help-content{
    max-width: 520px;
    margin: 0 auto;
}

body.wm-site .faq-help-title{
    margin-bottom: 14px;
    color: #ffffff;
    font-size: 20px;
    font-weight: 850;
}

body.wm-site .faq-help-text{
    margin-bottom: 24px;
    color: rgba(255,255,255,0.66);
    font-size: 15px;
    line-height: 1.6;
}

body.wm-site .faq-help-btn{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 12px 30px;
    background: var(--accent);
    color: #ffffff;
    text-decoration: none;
    border-radius: var(--radius-sm);
    font-size: 15px;
    font-weight: 800;
    border: 1px solid var(--accent);
}

body.wm-site .faq-help-btn:hover{
    background: var(--accent-hover);
    border-color: var(--accent-hover);
    color: #ffffff;
}

/* ============================================================
   DESKTOP: ФИЛЬТР СЛЕВА, АНКЕТЫ СПРАВА
============================================================ */

@media (min-width: 769px) {
    body.wm-site .ankety-wrapper{
        display: grid;
        grid-template-columns: 310px minmax(0, 1fr);
        gap: 28px;
        align-items: start;
    }

    body.wm-site .ankety-header,
body.wm-site .wm-mobile-toolbar{
        grid-column: 1 / -1;
    }

    body.wm-site .wm-filter-panel{
        grid-column: 1;
        margin-bottom: 0;
        position: sticky;
        top: 20px;
        max-height: calc(100vh - 40px);
        overflow: auto;
    }

    body.wm-site .wm-filter-row{
        gap: 18px;
    }

    body.wm-site .wm-filter-row--sliders,
body.wm-site .wm-filter-row--inputs,
body.wm-site .wm-filter-row--services,
body.wm-site .wm-filter-row--districts,
body.wm-site .wm-filter-row--taxonomies{
        grid-template-columns: 1fr;
        gap: 18px;
        margin-bottom: 16px;
    }

    body.wm-site .wm-services-grid,
body.wm-site .wm-districts-grid{
        grid-template-columns: 1fr;
        max-height: 260px;
    }

    body.wm-site .wm-filter-row--bottom{
        flex-direction: column;
        align-items: stretch;
        gap: 14px;
    }

    body.wm-site .wm-checks{
        gap: 12px;
    }

    body.wm-site .wm-actions{
        width: 100%;
        flex-direction: column;
        gap: 10px;
    }

    body.wm-site .wm-btn{
        width: 100%;
        min-width: 0;
    }

    body.wm-site .wm-top-wrap,
body.wm-site .wm-results,
body.wm-site .ankety-pagination{
        grid-column: 2;
        min-width: 0;
    }

    body.wm-site .wm-top-wrap{
        margin: 0 0 22px;
    }

    body.wm-site .grid{
        max-width: none;
        margin: 0;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 24px;
    }
}

/* ============================================================
   АДАПТИВ — ПЛАНШЕТ
============================================================ */

@media (max-width: 1200px) {
    body.wm-site .grid{
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px;
    }

    body.wm-site .top{
        flex-direction: column;
    }

    body.wm-site .media{
        width: 100%;
        height: 360px;
    }

    body.wm-site .stats{
        width: 100%;
        flex-direction: row;
        justify-content: space-between;
    }

    body.wm-site .stat{
        flex: 1;
    }

    body.wm-site .anketa-icons{
        top: 12px;
        right: 12px;
    }

    body.wm-site .anketa-icon{
        width: 45px;
        height: 45px;
    }
}

@media (max-width: 992px) {
    body.wm-site .ankety-counter{
        display: none;
    }

    body.wm-site .wm-filter-row--sliders,
body.wm-site .wm-filter-row--inputs{
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    body.wm-site .wm-filter-row--services,
body.wm-site .wm-filter-row--districts,
body.wm-site .wm-filter-row--taxonomies{
        grid-template-columns: 1fr;
    }

    body.wm-site .wm-filter-row--bottom{
        flex-direction: column;
        align-items: stretch;
    }

    body.wm-site .wm-actions{
        justify-content: flex-end;
    }

    body.wm-site .footer__inner{
        grid-template-columns: 1fr 1fr;
        gap: 34px;
    }
}

/* ============================================================
   MOBILE FILTER UI
============================================================ */

body.wm-site .wm-mobile-toolbar{
    display: none;
}

body.wm-site .wm-filter-overlay{
    display: none;
}

body.wm-site .wm-filter-mobile-head{
    display: none;
}

/* ============================================================
   АДАПТИВ — МОБИЛЬНЫЙ
============================================================ */

@media (max-width: 768px) {
    body.wm-site{
        padding: 0;
    }

    body.wm-site .header-inner{
        padding: 12px 16px;
    }

    body.wm-site .header-logo-image{
        height: 50px;
        max-width: 150px;
    }

    body.wm-site .mobile-menu-toggle{
        display: flex;
    }

    body.wm-site .header-right{
        display: none;
    }

    body.wm-site .ankety-wrapper,
body.wm-site .ankety-wrapper_top{
        padding: 22px 14px;
    }

    body.wm-site .ankety-title{
        font-size: 30px;
    }

    body.wm-site .grid{
        grid-template-columns: 1fr;
        gap: 16px;
    }

    body.wm-site .card{
        border-radius: var(--radius-lg);
        padding: 14px;
    }

    body.wm-site .media{
        height: 500px;
    }

    body.wm-site .stats{
        flex-wrap: wrap;
        gap: 8px;
    }

    body.wm-site .stat{
        flex: 0 0 calc(25% - 6px);
        padding: 9px 6px;
        border-radius: var(--radius-sm);
    }

    body.wm-site .stat .k{
        font-size: 11px;
    }

    body.wm-site .stat .v{
        font-size: 13px;
    }

    body.wm-site .prices{
        grid-template-columns: 1fr;
        gap: 10px;
    }

    body.wm-site .anketa-icons{
        top: 48px;
        right: 8px;
        gap: 6px;
    }

    body.wm-site .anketa-icon{
        width: 48px;
        height: 48px;
        padding: 4px;
    }

    body.wm-site .wm-services-desktop,
body.wm-site .wm-districts-desktop{
        display: none !important;
    }

    body.wm-site .wm-services-mobile,
body.wm-site .wm-districts-mobile{
        display: block;
    }

    body.wm-site .wm-districts-toggle{
        display: none;
    }

    body.wm-site .wm-mobile-toolbar{
        display: flex;
        justify-content: space-between;
        margin: -8px 0 14px;
    }

    body.wm-site .wm-mobile-filter-toggle{
        min-height: 44px;
        padding: 0 16px;
        border-radius: var(--radius-md);
        border: 1px solid rgba(255,255,255,0.12);
        background: var(--bg-panel);
        color: #ffffff;
        font-weight: 800;
        letter-spacing: .2px;
        cursor: pointer;
        display: inline-flex;
        align-items: center;
        gap: 10px;
    }

    body.wm-site .wm-filter-overlay{
        display: block;
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, .58);
        opacity: 0;
        pointer-events: none;
        transition: opacity .25s ease;
        z-index: 9998;
    }

    body.wm-site .wm-filter-overlay.wm-show{
        opacity: 1;
        pointer-events: auto;
    }

    body.wm-site .wm-filter-panel{
        position: fixed;
        top: 0;
        right: -100%;
        height: 100dvh;
        width: min(92vw, 380px);
        max-width: 380px;
        margin: 0;
        border-radius: 0;
        border-bottom: none;
        transition: right .28s ease;
        z-index: 9999;
        overflow: auto;
        padding: 16px 16px 18px;
        -webkit-overflow-scrolling: touch;
    }

    body.wm-site .wm-filter-panel.wm-open{
        right: 0;
    }

    body.wm-site .wm-filter-mobile-head{
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        position: sticky;
        top: 0;
        background: var(--bg-panel-2);
        padding: 4px 0 12px;
        margin: 0 0 14px;
        border-bottom: 1px solid rgba(255, 255, 255, .08);
        z-index: 2;
    }

    body.wm-site .wm-filter-mobile-title{
        color: #ffffff;
        font-size: 16px;
        font-weight: 850;
        letter-spacing: .2px;
    }

    body.wm-site .wm-filter-mobile-close{
        width: 40px;
        height: 40px;
        border-radius: var(--radius-md);
        border: 1px solid rgba(255, 255, 255, .12);
        background: rgba(0, 0, 0, .15);
        color: #ffffff;
        font-size: 26px;
        line-height: 1;
        cursor: pointer;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    body.wm-site .wm-filter-row--sliders,
body.wm-site .wm-filter-row--inputs,
body.wm-site .wm-filter-row--services,
body.wm-site .wm-filter-row--districts,
body.wm-site .wm-filter-row--taxonomies{
        grid-template-columns: 1fr;
        gap: 18px;
        margin-bottom: 16px;
    }

    body.wm-site .wm-filter-row--bottom{
        position: sticky;
        bottom: 0;
        background: var(--bg-panel-2);
        padding-top: 12px;
        border-top: 1px solid rgba(255, 255, 255, .08);
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
        z-index: 2;
    }

    body.wm-site .wm-checks{
        gap: 12px;
    }

    body.wm-site .wm-actions{
        width: 100%;
        gap: 10px;
    }

    body.wm-site .wm-btn{
        width: 100%;
        min-width: unset;
        border-radius: var(--radius-md);
    }

    body.wm-site .wm-top-title{
        font-size: 25px;
    }

    body.wm-site .wm-top-slider{
        padding-bottom: 46px;
    }

    body.wm-site .ankety-wrapper_top .wm-top-slider .swiper-button-next,
body.wm-site .ankety-wrapper_top .wm-top-slider .swiper-button-prev{
      
    }

    body.wm-site .ankety-wrapper_top .wm-top-slider .swiper-pagination{
        bottom: 0px !important;
    }

    body.wm-site .ankety-wrapper_top .wm-top-slider .swiper-pagination-bullet{
        width: 7px;
        height: 7px;
    }

    body.wm-site .ankety-wrapper_top .wm-top-slider .swiper-pagination-bullet-active{
        width: 22px;
    }

    body.wm-site .wm-top-description{
        padding: 16px;
    }

    body.wm-site .wm-top-description p{
        font-size: 13px;
        text-align: left;
    }

    body.wm-site .wm-map-popup{
        padding: 14px;
        align-items: center;
    }

    body.wm-site .wm-map-popup-content{
        width: 100%;
        max-width: 100%;
        padding: 12px;
        border-radius: var(--radius-lg);
    }

    body.wm-site .wm-map-popup-content::before{
        left: 12px;
        right: 12px;
    }

    body.wm-site .wm-map-popup-close{
        top: 10px;
        right: 10px;
        width: 38px;
        height: 38px;
        font-size: 28px;
        background: rgba(35, 34, 32, 0.96);
    }

    body.wm-site #wm-map-container,
body.wm-site .wm-map-popup #wm-map-container[style]{
        height: 72vh !important;
        min-height: 360px;
        max-height: 560px;
        border-radius: var(--radius-md);
    }

    body.wm-site .footer{
        padding: 40px 20px 30px;
    }

    body.wm-site .footer__inner{
        grid-template-columns: 1fr;
        gap: 34px;
    }

    body.wm-site .footer__bottom{
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
        margin-top: 38px;
        padding-top: 24px;
    }

    body.wm-site .footer__bottom-links{
        flex-wrap: wrap;
    }

    body.wm-site .ml-grid{
        grid-template-columns: 1fr;
        gap: 16px;
    }

    body.wm-site .ml-card__text{
        max-width: none;
    }

    body.wm-site .faq-answer-content{
        padding-left: 18px;
    }
}

@media (max-width: 576px) {
    body.wm-site .wm-filter-row--sliders,
body.wm-site .wm-filter-row--inputs,
body.wm-site .wm-filter-row--services,
body.wm-site .wm-filter-row--districts,
body.wm-site .wm-filter-row--taxonomies{
        grid-template-columns: 1fr;
    }

    body.wm-site .wm-actions{
        flex-direction: column;
    }
}

@media (max-width: 520px) {
    body.wm-site .media{
        height: 470px;
    }

    body.wm-site .name{
        font-size: 20px;
    }

    body.wm-site .actions{
        gap: 8px;
    }

    body.wm-site .btn-main{
        font-size: 14px;
    }

    body.wm-site .price{
        font-size: 12px;
    }

    body.wm-site .media::after,
body.wm-site .anketa-gallery-item::after{
        font-size: clamp(18px, 6vw, 28px);
        letter-spacing: 1px;
        padding: 12px;
    }

    body.wm-site .fancybox__content::after{
        font-size: clamp(20px, 7vw, 34px);
        letter-spacing: 1px;
    }

    body.wm-site .ml-section{
        padding: 18px 12px;
        border-radius: var(--radius-md);
    }

    body.wm-site .ml-card{
        padding: 18px 16px;
        border-radius: var(--radius-md);
    }

    body.wm-site .ml-ico{
        width: 40px;
        height: 40px;
        border-radius: var(--radius-md);
    }

    body.wm-site .ml-card__title{
        font-size: 17px;
    }

    body.wm-site .ml-card__text,
body.wm-site .ml-note p{
        font-size: 14px;
    }

    body.wm-site .ml-note{
        padding: 18px;
    }

    body.wm-site .ml-alert{
        padding: 12px 12px 14px;
    }
}

@media (max-width: 480px) {
    body.wm-site .header-logo a{
        font-size: 18px;
    }

    body.wm-site .mobile-menu{
        width: 100%;
        left: -100%;
    }

    body.wm-site .mobile-menu.active{
        left: 0;
    }

    body.wm-site .footer__left-logo img{
        height: 50px;
    }

    body.wm-site .footer__column-title{
        font-size: 15px;
    }

    body.wm-site .footer__menu a,
body.wm-site .footer__info a{
        font-size: 13px;
    }

    body.wm-site .footer__bottom-copy{
        width: 100%;
    }
}

@media (max-width: 420px) {
    body.wm-site .wm-map-popup{
        padding: 10px;
    }

    body.wm-site .wm-map-popup-content{
        padding: 10px;
        border-radius: var(--radius-md);
    }

    body.wm-site .wm-map-popup-close{
        top: 8px;
        right: 8px;
        width: 36px;
        height: 36px;
        font-size: 26px;
    }

    body.wm-site #wm-map-container,
body.wm-site .wm-map-popup #wm-map-container[style]{
        height: 70vh !important;
        min-height: 330px;
    }

    body.wm-site .media{
        height: 420px;
    }

    body.wm-site .stat{
        flex: 0 0 calc(24% - 4px);
    }

    body.wm-site .anketa-icons{
        top: 44px;
    }

    body.wm-site .anketa-icon{
        width: 44px;
        height: 44px;
    }

    body.wm-site .wm-top-wrap::before{
        font-size: 46px;
        white-space: normal;
    }
}
/* ========== КОНЕЦ: Общие стили сайта и карточек ========== */



/* ========== НАЧАЛО: Настройка мобильной страницы ========== */
/* Предотвращаем автоматическое увеличение при фокусе */
        @media screen and (max-width: 768px) {
            body.wm-site input[type="text"],
body.wm-site input[type="email"],
body.wm-site input[type="password"],
body.wm-site input[type="search"],
body.wm-site input[type="tel"],
body.wm-site input[type="url"],
body.wm-site input[type="number"],
body.wm-site textarea,
body.wm-site select{
                font-size: 16px !important;
                transform: scale(1);
            }
            
            /* Убедитесь, что масштаб не изменяется при фокусе */
            body.wm-site input:focus,
body.wm-site textarea:focus,
body.wm-site select:focus{
                transform: scale(1) !important;
            }
        }
/* ========== КОНЕЦ: Настройка мобильной страницы ========== */



/* ========== НАЧАЛО: Виджет сообщений ========== */
/**
 * Назначение файла: Оформление компактного виджета переписки: панель, список диалогов и сообщения.
 * Пояснения к изменениям производительности размещены возле соответствующих блоков.
 */
/* ===== WM Messenger Widget ===== */

body.wm-site .wm-mw{
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 99999;
  font-family: inherit;
}

body.wm-site .wm-mw__btn{
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 1px solid #2d2d2d;
  background: #c4455c;
  color: #fff;
  cursor: pointer;
  display: grid;
  place-items: center;
  box-shadow: 0 10px 30px rgba(0,0,0,.35);
  transition: transform .18s ease, filter .18s ease;
  position: relative;
}
body.wm-site .wm-mw__btn:hover{ transform: translateY(-2px); filter: brightness(1.05); }
body.wm-site .wm-mw__btn:active{ transform: translateY(0); }

body.wm-site .wm-mw__badge{
  position: absolute;
  top: -6px;
  right: -6px;
  min-width: 20px;
  height: 20px;
  border-radius: 999px;
  background: #1a1a1a;
  border: 1px solid #2d2d2d;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 0 6px;
}

/* Panel */
body.wm-site .wm-mw__panel{
  position: absolute;
  right: 0;
  bottom: 68px;
  width: 360px;
  height: 520px;
  background: #1a1a1a;
  border: 1px solid #2d2d2d;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 18px 50px rgba(0,0,0,.45);

  opacity: 0;
  pointer-events: none;
  transform: translateY(18px) scale(.98);
  transition: opacity .18s ease, transform .18s ease;
}

body.wm-site .wm-mw.is-open .wm-mw__panel{
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

body.wm-site .wm-mw__header{
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 14px;
  border-bottom: 1px solid #2d2d2d;
}
body.wm-site .wm-mw__title{
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: .2px;
}
body.wm-site .wm-mw__spacer{ flex: 1; }

body.wm-site .wm-mw__openfull{
  color: #c4455c;
  font-size: 12px;
  text-decoration: none;
  border: 1px solid #2d2d2d;
  padding: 6px 10px;
  border-radius: 10px;
  background: #222;
  transition: filter .18s ease;
}
body.wm-site .wm-mw__openfull:hover{ filter: brightness(1.08); }

body.wm-site .wm-mw__close{
  width: 34px;
  height: 34px;
  border-radius: 10px;
  border: 1px solid #2d2d2d;
  background: #222;
  color: #fff;
  cursor: pointer;
}

body.wm-site .wm-mw__body{
  height: calc(100% - 54px);
  display: flex;
}

/* Users list */
body.wm-site .wm-mw__users{
  width: 100%;
  display: flex;
  flex-direction: column;
}
body.wm-site .wm-mw__usersList{
  padding: 10px;
  overflow: auto;
  height: 100%;
}
body.wm-site .wm-mw__usersList::-webkit-scrollbar{ width: 6px; }
body.wm-site .wm-mw__usersList::-webkit-scrollbar-thumb{ background: #444; border-radius: 4px; }

body.wm-site .wm-mw__user{
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 10px;
  border-radius: 10px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background .15s ease, border-color .15s ease;
}
body.wm-site .wm-mw__user:hover{ background: #2a2a2a; border-color: #333; }
body.wm-site .wm-mw__user.is-active{ background: #2a2a2a; border-color: #c4455c; }

body.wm-site .wm-mw__ava{
  width: 42px;
  height: 42px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid #333;
  flex: 0 0 auto;
  position: relative;
}
body.wm-site .wm-mw__ava img{ width: 100%; height: 100%; object-fit: cover; }

body.wm-site .wm-mw__uname{
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  max-width: 220px;
}

body.wm-site .wm-mw__uBadge{
  margin-left: auto;
  background: #c4455c;
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  border-radius: 999px;
  padding: 2px 8px;
}

/* Chat view */
body.wm-site .wm-mw__chat{
  width: 100%;
  display: none;
  flex-direction: column;
  height: 100%;
}
body.wm-site .wm-mw__chat.is-show{ display: flex; }

body.wm-site .wm-mw__chatHead{
  padding: 10px 12px;
  border-bottom: 1px solid #2d2d2d;
  display: flex;
  align-items: center;
  gap: 10px;
}
body.wm-site .wm-mw__back{
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: 1px solid #2d2d2d;
  background: #222;
  color: #fff;
  cursor: pointer;
}
body.wm-site .wm-mw__chatUser{
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
body.wm-site .wm-mw__chatUser img{
  width: 36px; height: 36px; border-radius: 50%;
  object-fit: cover; border: 2px solid #333;
}
body.wm-site .wm-mw__chatName{
  color: #fff; font-weight: 700; font-size: 13px;
  overflow: hidden; white-space: nowrap; text-overflow: ellipsis;
}

/* Messages */
body.wm-site .wm-mw__msgs{
  flex: 1;
  overflow: auto;
  padding: 12px;
}
body.wm-site .wm-mw__msgs::-webkit-scrollbar{ width: 6px; }
body.wm-site .wm-mw__msgs::-webkit-scrollbar-thumb{ background: #444; border-radius: 4px; }

body.wm-site .wm-mw__msgRow{
  display: flex;
  flex-direction: column;
  margin-bottom: 10px;
  max-width: 100%;
}
body.wm-site .wm-mw__msgRow.me{ align-items: flex-end; }
body.wm-site .wm-mw__bubble{
  background: #2d2d2d;
  color: #fff;
  padding: 10px 12px;
  border-radius: 14px;
  max-width: 85%;
  word-wrap: break-word;
  position: relative;
}
body.wm-site .wm-mw__msgRow.me .wm-mw__bubble{
  background: #c4455c;
  border-bottom-right-radius: 6px;
}
body.wm-site .wm-mw__msgRow:not(.me) .wm-mw__bubble{
  border-bottom-left-radius: 6px;
}
body.wm-site .wm-mw__time{
  margin-top: 4px;
  font-size: 11px;
  color: #888;
}

/* file preview */
body.wm-site .wm-mw__fileBox{
  background: rgba(0,0,0,.15);
  border: 1px solid #333;
  border-radius: 10px;
  padding: 10px;
}
body.wm-site .wm-mw__fileBox a{ color: #fff; text-decoration: none; }
body.wm-site .wm-mw__fileBox a:hover{ text-decoration: underline; }
body.wm-site .wm-mw__fileImg{
  max-width: 220px;
  max-height: 160px;
  border-radius: 8px;
  display: block;
}

/* Input */
body.wm-site .wm-mw__form{
  border-top: 1px solid #2d2d2d;
  padding: 10px;
  display: flex;
  align-items: flex-end;
  gap: 8px;
  background: #1a1a1a;
}
body.wm-site .wm-mw__attach,
body.wm-site .wm-mw__send{
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid #333;
  background: #222;
  color: #fff;
  cursor: pointer;
  display: grid;
  place-items: center;
}
body.wm-site .wm-mw__send{
  background: #c4455c;
  border-color: #c4455c;
}
body.wm-site .wm-mw__input{
  flex: 1;
  background: transparent;
  border: none;
  color: #fff;
  resize: none;
  max-height: 110px;
  font-size: 13px;
  line-height: 1.4;
  padding: 8px 0;
  outline: none;
}
body.wm-site .wm-mw__status{
  min-height: 16px;
  font-size: 12px;
  color: #888;
  text-align: center;
  padding: 6px 10px 10px;
}

@media (max-width: 520px) {
  body.wm-site .wm-mw{ right: 10px; bottom: 10px; }
  body.wm-site .wm-mw__panel{
    width: calc(100vw - 20px);
    height: 65vh;
    right: 0;
  }
}
/* ========== КОНЕЦ: Виджет сообщений ========== */



/* ========== НАЧАЛО: Уведомления ========== */
/**
 * Назначение файла: Оформление всплывающих уведомлений о балансе и их анимаций.
 * Пояснения к изменениям производительности размещены возле соответствующих блоков.
 */
/* ============================================================
   ГЛОБАЛЬНЫЕ УВЕДОМЛЕНИЯ САЙТА
============================================================ */

body.wm-site .wm-site-notifications-root{
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 999999;
    width: 360px;
    max-width: calc(100vw - 28px);
    display: flex;
    flex-direction: column;
    gap: 12px;
    pointer-events: none;
}

body.wm-site .wm-site-notice{
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-columns: 46px minmax(0, 1fr);
    gap: 12px;
    padding: 14px 42px 14px 14px;
    border-radius: 7px;
    background:
        radial-gradient(circle at top left, rgba(196, 69, 92, 0.18), transparent 180px),
        #232220;
    border: 1px solid rgba(255, 255, 255, 0.14);
    color: #ffffff;
    opacity: 0;
    visibility: hidden;
    margin-right: -18px;
    transition: 0.22s ease;
    pointer-events: auto;
}

body.wm-site .wm-site-notice.is-visible{
    opacity: 1;
    visibility: visible;
    margin-right: 0;
}

body.wm-site .wm-site-notice::before{
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: #c4455c;
}

body.wm-site .wm-site-notice--success::before{
    background: #4CAF50;
}

body.wm-site .wm-site-notice--danger::before{
    background: #fb7185;
}

body.wm-site .wm-site-notice__icon{
    width: 46px;
    height: 46px;
    border-radius: 7px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.12);
    color: #ffffff;
    font-size: 22px;
    line-height: 1;
    font-weight: 900;
}

body.wm-site .wm-site-notice--success .wm-site-notice__icon{
    color: #86efac;
    background: rgba(76, 175, 80, 0.14);
    border-color: rgba(76, 175, 80, 0.28);
}

body.wm-site .wm-site-notice--danger .wm-site-notice__icon{
    color: #fb7185;
    background: rgba(251, 113, 133, 0.14);
    border-color: rgba(251, 113, 133, 0.28);
}

body.wm-site .wm-site-notice__content{
    min-width: 0;
}

body.wm-site .wm-site-notice__title{
    margin-bottom: 5px;
    color: #ffffff;
    font-size: 14px;
    line-height: 1.25;
    font-weight: 900;
}

body.wm-site .wm-site-notice__text{
    color: rgba(255,255,255,0.76);
    font-size: 13px;
    line-height: 1.45;
    font-weight: 600;
}

body.wm-site .wm-site-notice__amount{
    display: inline-flex;
    align-items: center;
    margin-top: 9px;
    padding: 6px 9px;
    border-radius: 7px;
    background: rgba(255,255,255,0.07);
    color: #ffffff;
    font-size: 13px;
    line-height: 1;
    font-weight: 900;
}

body.wm-site .wm-site-notice--success .wm-site-notice__amount{
    color: #86efac;
}

body.wm-site .wm-site-notice--danger .wm-site-notice__amount{
    color: #fb7185;
}

body.wm-site .wm-site-notice__close{
    position: absolute;
    top: 9px;
    right: 9px;
    width: 24px;
    height: 24px;
    padding: 0;
    border: 0;
    border-radius: 7px;
    background: rgba(255,255,255,0.07);
    color: rgba(255,255,255,0.68);
    font-size: 18px;
    line-height: 24px;
    cursor: pointer;
}

body.wm-site .wm-site-notice__close:hover{
    background: rgba(255,255,255,0.13);
    color: #ffffff;
}

body.wm-site .wm-site-notice__bar{
    position: absolute;
    left: 0;
    bottom: 0;
    height: 3px;
    width: 100%;
    background: rgba(255,255,255,0.16);
}

body.wm-site .wm-site-notice__bar span{
    display: block;
    height: 100%;
    width: 100%;
    background: rgba(255,255,255,0.5);
    animation: wmNoticeBar 8s linear forwards;
}

@keyframes wmNoticeBar {
    from {
        width: 100%;
    }
    to {
        width: 0%;
    }
}

/* Если есть кнопка сообщений, аккуратно подсветим её */
body.wm-site .wm-mw__btn.wm-site-notice-pulse{
    position: relative;
}

body.wm-site .wm-mw__btn.wm-site-notice-pulse::after{
    content: '';
    position: absolute;
    top: 5px;
    right: 5px;
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: #c4455c;
    border: 2px solid #232220;
}

@media (max-width: 520px) {
    body.wm-site .wm-site-notifications-root{
        left: 14px;
        right: 14px;
        bottom: 14px;
        width: auto;
        max-width: none;
    }

    body.wm-site .wm-site-notice{
        grid-template-columns: 42px minmax(0, 1fr);
        padding: 13px 40px 13px 13px;
    }

    body.wm-site .wm-site-notice__icon{
        width: 42px;
        height: 42px;
        font-size: 20px;
    }
}
/* ========== КОНЕЦ: Уведомления ========== */



/* ========== НАЧАЛО: Блог и статьи ========== */
body.wm-site:is(.wm-view-archive-wm_article,.wm-view-single-wm_article) .wm-blog-archive,
body.wm-site:is(.wm-view-archive-wm_article,.wm-view-single-wm_article) .wm-article-page{
    position: relative;
    padding: 54px 20px 76px;
    background:
        radial-gradient(circle at 8% 0%, rgba(196, 69, 92, 0.13), transparent 430px),
        radial-gradient(circle at 92% 28%, rgba(196, 69, 92, 0.07), transparent 440px),
        var(--bg-body, #1a1a1a);
    color: #fff;
    overflow: hidden;
}

body.wm-site:is(.wm-view-archive-wm_article,.wm-view-single-wm_article) .wm-blog-archive::before,
body.wm-site:is(.wm-view-archive-wm_article,.wm-view-single-wm_article) .wm-article-page::before{
    content: "MIRACLE";
    position: absolute;
    top: 180px;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    text-align: center;
    color: rgba(255, 255, 255, 0.018);
    font-size: clamp(72px, 14vw, 210px);
    line-height: 1;
    font-weight: 950;
    letter-spacing: 14px;
    pointer-events: none;
    user-select: none;
}

body.wm-site:is(.wm-view-archive-wm_article,.wm-view-single-wm_article) .wm-blog-shell,
body.wm-site:is(.wm-view-archive-wm_article,.wm-view-single-wm_article) .wm-article-shell{
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1350px;
    margin: 0 auto;
}

/* ---------- РћР±С‰РёРµ СЌР»РµРјРµРЅС‚С‹ ---------- */
body.wm-site:is(.wm-view-archive-wm_article,.wm-view-single-wm_article) .wm-blog-kicker{
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 7px 12px;
    border-radius: 999px;
    background: rgba(196, 69, 92, 0.14);
    border: 1px solid rgba(196, 69, 92, 0.34);
    color: var(--accent-hover, #d75970);
    font-size: 12px;
    line-height: 1;
    font-weight: 850;
    letter-spacing: .5px;
    text-transform: uppercase;
}

/* ============================================================
   ARCHIVE
   ============================================================ */
body.wm-site:is(.wm-view-archive-wm_article,.wm-view-single-wm_article) .wm-blog-hero{
    position: relative;
    min-height: 270px;
    padding: 46px 50px;
    margin-bottom: 34px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 40px;
    border-radius: var(--radius-xl, 24px);
    background:
        radial-gradient(circle at top right, rgba(196, 69, 92, .19), transparent 330px),
        linear-gradient(180deg, rgba(255,255,255,.055), rgba(255,255,255,.018)),
        rgba(35, 34, 32, .86);
    border: 1px solid rgba(255,255,255,.10);
    overflow: hidden;
}

body.wm-site:is(.wm-view-archive-wm_article,.wm-view-single-wm_article) .wm-blog-hero::before{
    content: "";
    position: absolute;
    left: 28px;
    right: 28px;
    top: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent, #c4455c), transparent);
    opacity: .9;
}

body.wm-site:is(.wm-view-archive-wm_article,.wm-view-single-wm_article) .wm-blog-hero__content{
    position: relative;
    z-index: 2;
    max-width: 760px;
}

body.wm-site:is(.wm-view-archive-wm_article,.wm-view-single-wm_article) .wm-blog-title{
    margin: 18px 0 0;
    color: #fff;
    font-size: clamp(46px, 6vw, 82px);
    line-height: .95;
    font-weight: 950;
    letter-spacing: -.065em;
}

body.wm-site:is(.wm-view-archive-wm_article,.wm-view-single-wm_article) .wm-blog-description{
    max-width: 690px;
    margin: 20px 0 0;
    color: rgba(255,255,255,.67);
    font-size: 17px;
    line-height: 1.65;
}

body.wm-site:is(.wm-view-archive-wm_article,.wm-view-single-wm_article) .wm-blog-hero__mark{
    position: absolute;
    right: 34px;
    bottom: 12px;
    color: rgba(255,255,255,.035);
    font-size: clamp(76px, 11vw, 150px);
    line-height: .8;
    font-weight: 950;
    letter-spacing: -.08em;
    pointer-events: none;
}

body.wm-site:is(.wm-view-archive-wm_article,.wm-view-single-wm_article) .wm-blog-grid{
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

body.wm-site:is(.wm-view-archive-wm_article,.wm-view-single-wm_article) .wm-blog-card{
    position: relative;
    min-width: 0;
    border-radius: var(--radius-lg, 20px);
    background:
        linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.014)),
        rgba(35, 34, 32, .88);
    border: 1px solid rgba(255,255,255,.085);
    overflow: hidden;
    transition: border-color .2s ease, background .2s ease;
}

body.wm-site:is(.wm-view-archive-wm_article,.wm-view-single-wm_article) .wm-blog-card:hover{
    border-color: rgba(196,69,92,.38);
    background:
        linear-gradient(180deg, rgba(196,69,92,.07), rgba(255,255,255,.012)),
        rgba(35, 34, 32, .92);
}

body.wm-site:is(.wm-view-archive-wm_article,.wm-view-single-wm_article) .wm-blog-card__media,
body.wm-site:is(.wm-view-archive-wm_article,.wm-view-single-wm_article) .wm-related-card__media{
    position: relative;
    display: block;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: rgba(0,0,0,.22);
}

body.wm-site:is(.wm-view-archive-wm_article,.wm-view-single-wm_article) .wm-blog-card__image,
body.wm-site:is(.wm-view-archive-wm_article,.wm-view-single-wm_article) .wm-related-card__image{
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform .28s ease;
}

body.wm-site:is(.wm-view-archive-wm_article,.wm-view-single-wm_article) .wm-blog-card:hover .wm-blog-card__image,
body.wm-site:is(.wm-view-archive-wm_article,.wm-view-single-wm_article) .wm-related-card:hover .wm-related-card__image{
    transform: scale(1.025);
}

body.wm-site:is(.wm-view-archive-wm_article,.wm-view-single-wm_article) .wm-blog-card__placeholder{
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background:
        radial-gradient(circle at 50% 20%, rgba(196,69,92,.25), transparent 45%),
        rgba(17,17,17,.82);
}

body.wm-site:is(.wm-view-archive-wm_article,.wm-view-single-wm_article) .wm-blog-card__placeholder span{
    color: rgba(255,255,255,.11);
    font-size: 92px;
    line-height: 1;
    font-weight: 950;
    letter-spacing: -.09em;
}

body.wm-site:is(.wm-view-archive-wm_article,.wm-view-single-wm_article) .wm-blog-card__body{
    padding: 22px 22px 24px;
}

body.wm-site:is(.wm-view-archive-wm_article,.wm-view-single-wm_article) .wm-blog-card__meta,
body.wm-site:is(.wm-view-archive-wm_article,.wm-view-single-wm_article) .wm-related-card__body time,
body.wm-site:is(.wm-view-archive-wm_article,.wm-view-single-wm_article) .wm-article-meta{
    color: rgba(255,255,255,.42);
    font-size: 13px;
    line-height: 1.4;
    font-weight: 700;
}

body.wm-site:is(.wm-view-archive-wm_article,.wm-view-single-wm_article) .wm-blog-card__title{
    margin: 10px 0 0;
    font-size: 23px;
    line-height: 1.16;
    font-weight: 900;
    letter-spacing: -.035em;
}

body.wm-site:is(.wm-view-archive-wm_article,.wm-view-single-wm_article) .wm-blog-card__title a,
body.wm-site:is(.wm-view-archive-wm_article,.wm-view-single-wm_article) .wm-related-card__body h3 a{
    color: #fff;
    text-decoration: none;
}

body.wm-site:is(.wm-view-archive-wm_article,.wm-view-single-wm_article) .wm-blog-card__title a:hover,
body.wm-site:is(.wm-view-archive-wm_article,.wm-view-single-wm_article) .wm-related-card__body h3 a:hover{
    color: var(--accent-hover, #d75970);
}

body.wm-site:is(.wm-view-archive-wm_article,.wm-view-single-wm_article) .wm-blog-card__excerpt{
    margin: 13px 0 0;
    color: rgba(255,255,255,.62);
    font-size: 15px;
    line-height: 1.62;
}

body.wm-site:is(.wm-view-archive-wm_article,.wm-view-single-wm_article) .wm-blog-card__more{
    width: max-content;
    margin-top: 20px;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: var(--accent-hover, #d75970);
    text-decoration: none;
    font-size: 14px;
    line-height: 1.2;
    font-weight: 850;
}

body.wm-site:is(.wm-view-archive-wm_article,.wm-view-single-wm_article) .wm-blog-card__more svg{
    width: 18px;
    height: 18px;
    transition: transform .18s ease;
}

body.wm-site:is(.wm-view-archive-wm_article,.wm-view-single-wm_article) .wm-blog-card__more:hover svg{
    transform: translateX(3px);
}

body.wm-site:is(.wm-view-archive-wm_article,.wm-view-single-wm_article) .wm-blog-pagination{
    margin-top: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}

body.wm-site:is(.wm-view-archive-wm_article,.wm-view-single-wm_article) .wm-blog-pagination .page-numbers{
    min-width: 42px;
    height: 42px;
    padding: 0 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.09);
    color: rgba(255,255,255,.73);
    text-decoration: none;
    font-size: 14px;
    font-weight: 800;
}

body.wm-site:is(.wm-view-archive-wm_article,.wm-view-single-wm_article) .wm-blog-pagination .page-numbers:hover,
body.wm-site:is(.wm-view-archive-wm_article,.wm-view-single-wm_article) .wm-blog-pagination .page-numbers.current{
    background: var(--accent, #c4455c);
    border-color: var(--accent, #c4455c);
    color: #fff;
}

body.wm-site:is(.wm-view-archive-wm_article,.wm-view-single-wm_article) .wm-blog-empty{
    padding: 54px 28px;
    text-align: center;
    border-radius: var(--radius-xl, 24px);
    background: rgba(35,34,32,.82);
    border: 1px solid rgba(255,255,255,.08);
}

body.wm-site:is(.wm-view-archive-wm_article,.wm-view-single-wm_article) .wm-blog-empty__icon{
    width: 72px;
    height: 72px;
    margin: 0 auto 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(196,69,92,.12);
    border: 1px solid rgba(196,69,92,.30);
    color: var(--accent-hover, #d75970);
    font-size: 31px;
    font-weight: 950;
}

body.wm-site:is(.wm-view-archive-wm_article,.wm-view-single-wm_article) .wm-blog-empty h2{
    margin: 0;
    font-size: 28px;
}

body.wm-site:is(.wm-view-archive-wm_article,.wm-view-single-wm_article) .wm-blog-empty p{
    margin: 10px 0 0;
    color: rgba(255,255,255,.6);
}

/* ============================================================
   SINGLE ARTICLE
   ============================================================ */
body.wm-site:is(.wm-view-archive-wm_article,.wm-view-single-wm_article) .wm-article-breadcrumbs{
    margin: 0 0 28px;
    display: flex;
    align-items: center;
    gap: 9px;
    flex-wrap: wrap;
    color: rgba(255,255,255,.38);
    font-size: 13px;
    line-height: 1.45;
}

body.wm-site:is(.wm-view-archive-wm_article,.wm-view-single-wm_article) .wm-article-breadcrumbs a{
    color: rgba(255,255,255,.62);
    text-decoration: none;
}

body.wm-site:is(.wm-view-archive-wm_article,.wm-view-single-wm_article) .wm-article-breadcrumbs a:hover{
    color: var(--accent-hover, #d75970);
}

body.wm-site:is(.wm-view-archive-wm_article,.wm-view-single-wm_article) .wm-article-breadcrumbs > span:last-child{
    max-width: 560px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

body.wm-site:is(.wm-view-archive-wm_article,.wm-view-single-wm_article) .wm-article-header{
    max-width: 1010px;
    margin-bottom: 28px;
}

body.wm-site:is(.wm-view-archive-wm_article,.wm-view-single-wm_article) .wm-article-title{
    margin: 18px 0 18px;
    color: #fff;
    font-size: clamp(38px, 5.5vw, 72px);
    line-height: 1.02;
    font-weight: 950;
    letter-spacing: -.058em;
}

body.wm-site:is(.wm-view-archive-wm_article,.wm-view-single-wm_article) .wm-article-cover{
    position: relative;
    margin: 0 0 34px;
    overflow: hidden;
    border-radius: var(--radius-xl, 24px);
    background: rgba(0,0,0,.22);
    border: 1px solid rgba(255,255,255,.09);
}

body.wm-site:is(.wm-view-archive-wm_article,.wm-view-single-wm_article) .wm-article-cover::before{
    content: "";
    position: absolute;
    z-index: 2;
    inset: 0;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.025);
    pointer-events: none;
}

body.wm-site:is(.wm-view-archive-wm_article,.wm-view-single-wm_article) .wm-article-cover__image{
    width: 100%;
    max-height: 760px;
    display: block;
    object-fit: cover;
}

body.wm-site:is(.wm-view-archive-wm_article,.wm-view-single-wm_article) .wm-article-layout{
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 34px;
    align-items: start;
}

body.wm-site:is(.wm-view-archive-wm_article,.wm-view-single-wm_article) .wm-article-content{
    min-width: 0;
    padding: 34px 38px;
    border-radius: var(--radius-xl, 24px);
    background:
        linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.012)),
        rgba(35,34,32,.82);
    border: 1px solid rgba(255,255,255,.085);
    color: rgba(255,255,255,.78);
    font-size: 17px;
    line-height: 1.75;
}

body.wm-site:is(.wm-view-archive-wm_article,.wm-view-single-wm_article) .wm-article-content > *:first-child{
    margin-top: 0 !important;
}

body.wm-site:is(.wm-view-archive-wm_article,.wm-view-single-wm_article) .wm-article-content > *:last-child{
    margin-bottom: 0 !important;
}

body.wm-site:is(.wm-view-archive-wm_article,.wm-view-single-wm_article) .wm-article-content p,
body.wm-site:is(.wm-view-archive-wm_article,.wm-view-single-wm_article) .wm-article-content ul,
body.wm-site:is(.wm-view-archive-wm_article,.wm-view-single-wm_article) .wm-article-content ol,
body.wm-site:is(.wm-view-archive-wm_article,.wm-view-single-wm_article) .wm-article-content blockquote,
body.wm-site:is(.wm-view-archive-wm_article,.wm-view-single-wm_article) .wm-article-content figure,
body.wm-site:is(.wm-view-archive-wm_article,.wm-view-single-wm_article) .wm-article-content .wp-block-image,
body.wm-site:is(.wm-view-archive-wm_article,.wm-view-single-wm_article) .wm-article-content .wp-block-gallery,
body.wm-site:is(.wm-view-archive-wm_article,.wm-view-single-wm_article) .wm-article-content .wp-block-table{
    margin-top: 0;
    margin-bottom: 1.35em;
}

body.wm-site:is(.wm-view-archive-wm_article,.wm-view-single-wm_article) .wm-article-content h2,
body.wm-site:is(.wm-view-archive-wm_article,.wm-view-single-wm_article) .wm-article-content h3,
body.wm-site:is(.wm-view-archive-wm_article,.wm-view-single-wm_article) .wm-article-content h4,
body.wm-site:is(.wm-view-archive-wm_article,.wm-view-single-wm_article) .wm-article-content h5,
body.wm-site:is(.wm-view-archive-wm_article,.wm-view-single-wm_article) .wm-article-content h6{
    color: #fff;
    font-weight: 900;
    letter-spacing: -.035em;
}

body.wm-site:is(.wm-view-archive-wm_article,.wm-view-single-wm_article) .wm-article-content h2{
    margin: 1.6em 0 .6em;
    font-size: clamp(28px, 3vw, 38px);
    line-height: 1.12;
}

body.wm-site:is(.wm-view-archive-wm_article,.wm-view-single-wm_article) .wm-article-content h3{
    margin: 1.45em 0 .55em;
    font-size: 26px;
    line-height: 1.18;
}

body.wm-site:is(.wm-view-archive-wm_article,.wm-view-single-wm_article) .wm-article-content h4{
    margin: 1.4em 0 .5em;
    font-size: 21px;
    line-height: 1.25;
}

body.wm-site:is(.wm-view-archive-wm_article,.wm-view-single-wm_article) .wm-article-content a{
    color: var(--accent-hover, #d75970);
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

body.wm-site:is(.wm-view-archive-wm_article,.wm-view-single-wm_article) .wm-article-content strong,
body.wm-site:is(.wm-view-archive-wm_article,.wm-view-single-wm_article) .wm-article-content b{
    color: #fff;
}

body.wm-site:is(.wm-view-archive-wm_article,.wm-view-single-wm_article) .wm-article-content ul,
body.wm-site:is(.wm-view-archive-wm_article,.wm-view-single-wm_article) .wm-article-content ol{
    padding-left: 1.35em;
}

body.wm-site:is(.wm-view-archive-wm_article,.wm-view-single-wm_article) .wm-article-content li + li{
    margin-top: .45em;
}

body.wm-site:is(.wm-view-archive-wm_article,.wm-view-single-wm_article) .wm-article-content blockquote{
    position: relative;
    padding: 22px 24px 22px 26px;
    border-left: 3px solid var(--accent, #c4455c);
    border-radius: 0 16px 16px 0;
    background: rgba(196,69,92,.09);
    color: rgba(255,255,255,.82);
}

body.wm-site:is(.wm-view-archive-wm_article,.wm-view-single-wm_article) .wm-article-content img{
    max-width: 100%;
    height: auto;
    border-radius: 16px;
}

body.wm-site:is(.wm-view-archive-wm_article,.wm-view-single-wm_article) .wm-article-content figure img{
    display: block;
}

body.wm-site:is(.wm-view-archive-wm_article,.wm-view-single-wm_article) .wm-article-content figcaption{
    margin-top: 8px;
    color: rgba(255,255,255,.45);
    font-size: 13px;
    line-height: 1.45;
    text-align: center;
}

body.wm-site:is(.wm-view-archive-wm_article,.wm-view-single-wm_article) .wm-article-content iframe,
body.wm-site:is(.wm-view-archive-wm_article,.wm-view-single-wm_article) .wm-article-content video{
    max-width: 100%;
    border-radius: 16px;
}

body.wm-site:is(.wm-view-archive-wm_article,.wm-view-single-wm_article) .wm-article-content table{
    width: 100%;
    border-collapse: collapse;
}

body.wm-site:is(.wm-view-archive-wm_article,.wm-view-single-wm_article) .wm-article-content th,
body.wm-site:is(.wm-view-archive-wm_article,.wm-view-single-wm_article) .wm-article-content td{
    padding: 12px 14px;
    border: 1px solid rgba(255,255,255,.10);
    text-align: left;
}

body.wm-site:is(.wm-view-archive-wm_article,.wm-view-single-wm_article) .wm-article-content th{
    color: #fff;
    background: rgba(255,255,255,.045);
}

body.wm-site:is(.wm-view-archive-wm_article,.wm-view-single-wm_article) .wm-article-pages{
    margin-top: 30px;
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

body.wm-site:is(.wm-view-archive-wm_article,.wm-view-single-wm_article) .wm-article-pages > span:first-child{
    margin-right: 5px;
    color: rgba(255,255,255,.45);
}

body.wm-site:is(.wm-view-archive-wm_article,.wm-view-single-wm_article) .wm-article-aside{
    position: sticky;
    top: 24px;
}

body.wm-site:is(.wm-view-archive-wm_article,.wm-view-single-wm_article) .wm-article-aside__card{
    position: relative;
    padding: 25px;
    border-radius: var(--radius-xl, 24px);
    background:
        radial-gradient(circle at top right, rgba(196,69,92,.14), transparent 240px),
        linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.012)),
        rgba(35,34,32,.86);
    border: 1px solid rgba(255,255,255,.09);
    overflow: hidden;
}

body.wm-site:is(.wm-view-archive-wm_article,.wm-view-single-wm_article) .wm-article-aside__card::before{
    content: "";
    position: absolute;
    top: 0;
    left: 20px;
    right: 20px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent, #c4455c), transparent);
}

body.wm-site:is(.wm-view-archive-wm_article,.wm-view-single-wm_article) .wm-article-aside__kicker{
    color: var(--accent-hover, #d75970);
    font-size: 12px;
    line-height: 1.2;
    font-weight: 850;
    letter-spacing: .5px;
    text-transform: uppercase;
}

body.wm-site:is(.wm-view-archive-wm_article,.wm-view-single-wm_article) .wm-article-aside h2{
    margin: 10px 0 0;
    color: #fff;
    font-size: 25px;
    line-height: 1.15;
    font-weight: 900;
    letter-spacing: -.035em;
}

body.wm-site:is(.wm-view-archive-wm_article,.wm-view-single-wm_article) .wm-article-aside p{
    margin: 12px 0 0;
    color: rgba(255,255,255,.6);
    font-size: 14px;
    line-height: 1.6;
}

body.wm-site:is(.wm-view-archive-wm_article,.wm-view-single-wm_article) .wm-article-aside__button{
    width: 100%;
    min-height: 46px;
    margin-top: 20px;
    padding: 12px 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: var(--accent, #c4455c);
    border: 1px solid var(--accent, #c4455c);
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 850;
}

body.wm-site:is(.wm-view-archive-wm_article,.wm-view-single-wm_article) .wm-article-aside__button:hover{
    background: var(--accent-hover, #d75970);
    border-color: var(--accent-hover, #d75970);
    color: #fff;
}

/* ---------- Р”СЂСѓРіРёРµ СЃС‚Р°С‚СЊРё ---------- */
body.wm-site:is(.wm-view-archive-wm_article,.wm-view-single-wm_article) .wm-related-articles{
    margin-top: 38px;
}

body.wm-site:is(.wm-view-archive-wm_article,.wm-view-single-wm_article) .wm-related-articles__head{
    margin-bottom: 18px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
}

body.wm-site:is(.wm-view-archive-wm_article,.wm-view-single-wm_article) .wm-related-articles__head h2{
    margin: 12px 0 0;
    color: #fff;
    font-size: 32px;
    line-height: 1.1;
    font-weight: 900;
    letter-spacing: -.04em;
}

body.wm-site:is(.wm-view-archive-wm_article,.wm-view-single-wm_article) .wm-related-articles__head > a,
body.wm-site:is(.wm-view-archive-wm_article,.wm-view-single-wm_article) .wm-article-back a{
    color: rgba(255,255,255,.65);
    text-decoration: none;
    font-size: 14px;
    font-weight: 800;
}

body.wm-site:is(.wm-view-archive-wm_article,.wm-view-single-wm_article) .wm-related-articles__head > a:hover,
body.wm-site:is(.wm-view-archive-wm_article,.wm-view-single-wm_article) .wm-article-back a:hover{
    color: var(--accent-hover, #d75970);
}

body.wm-site:is(.wm-view-archive-wm_article,.wm-view-single-wm_article) .wm-related-grid{
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

body.wm-site:is(.wm-view-archive-wm_article,.wm-view-single-wm_article) .wm-related-card{
    min-width: 0;
    border-radius: 18px;
    background: rgba(35,34,32,.82);
    border: 1px solid rgba(255,255,255,.08);
    overflow: hidden;
    transition: border-color .2s ease;
}

body.wm-site:is(.wm-view-archive-wm_article,.wm-view-single-wm_article) .wm-related-card:hover{
    border-color: rgba(196,69,92,.35);
}

body.wm-site:is(.wm-view-archive-wm_article,.wm-view-single-wm_article) .wm-related-card__body{
    padding: 17px 18px 19px;
}

body.wm-site:is(.wm-view-archive-wm_article,.wm-view-single-wm_article) .wm-related-card__body h3{
    margin: 7px 0 0;
    font-size: 18px;
    line-height: 1.22;
    font-weight: 850;
    letter-spacing: -.025em;
}

body.wm-site:is(.wm-view-archive-wm_article,.wm-view-single-wm_article) .wm-article-back{
    margin-top: 28px;
}

/* ---------- РџРѕСЏРІР»РµРЅРёРµ ---------- */
body.wm-site:is(.wm-view-archive-wm_article,.wm-view-single-wm_article) .wm-blog-hero,
body.wm-site:is(.wm-view-archive-wm_article,.wm-view-single-wm_article) .wm-blog-card,
body.wm-site:is(.wm-view-archive-wm_article,.wm-view-single-wm_article) .wm-article-header,
body.wm-site:is(.wm-view-archive-wm_article,.wm-view-single-wm_article) .wm-article-cover,
body.wm-site:is(.wm-view-archive-wm_article,.wm-view-single-wm_article) .wm-article-layout,
body.wm-site:is(.wm-view-archive-wm_article,.wm-view-single-wm_article) .wm-related-articles{
    animation: wmBlogFade .42s ease both;
}

@keyframes wmBlogFade {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
    body.wm-site:is(.wm-view-archive-wm_article,.wm-view-single-wm_article) .wm-blog-grid{
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    body.wm-site:is(.wm-view-archive-wm_article,.wm-view-single-wm_article) .wm-article-layout{
        grid-template-columns: minmax(0, 1fr) 280px;
        gap: 24px;
    }
}

@media (max-width: 900px) {
    body.wm-site:is(.wm-view-archive-wm_article,.wm-view-single-wm_article) .wm-blog-archive,
body.wm-site:is(.wm-view-archive-wm_article,.wm-view-single-wm_article) .wm-article-page{
        padding: 42px 16px 60px;
    }

    body.wm-site:is(.wm-view-archive-wm_article,.wm-view-single-wm_article) .wm-blog-hero{
        min-height: 240px;
        padding: 38px 34px;
    }

    body.wm-site:is(.wm-view-archive-wm_article,.wm-view-single-wm_article) .wm-article-layout{
        grid-template-columns: 1fr;
    }

    body.wm-site:is(.wm-view-archive-wm_article,.wm-view-single-wm_article) .wm-article-aside{
        position: static;
    }

    body.wm-site:is(.wm-view-archive-wm_article,.wm-view-single-wm_article) .wm-related-grid{
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    body.wm-site:is(.wm-view-archive-wm_article,.wm-view-single-wm_article) .wm-blog-archive,
body.wm-site:is(.wm-view-archive-wm_article,.wm-view-single-wm_article) .wm-article-page{
        padding: 30px 14px 46px;
    }

    body.wm-site:is(.wm-view-archive-wm_article,.wm-view-single-wm_article) .wm-blog-archive::before,
body.wm-site:is(.wm-view-archive-wm_article,.wm-view-single-wm_article) .wm-article-page::before{
        display: none;
    }

    body.wm-site:is(.wm-view-archive-wm_article,.wm-view-single-wm_article) .wm-blog-hero{
        min-height: 215px;
        margin-bottom: 20px;
        padding: 28px 22px;
        border-radius: var(--radius-lg, 20px);
    }

    body.wm-site:is(.wm-view-archive-wm_article,.wm-view-single-wm_article) .wm-blog-title{
        font-size: 44px;
    }

    body.wm-site:is(.wm-view-archive-wm_article,.wm-view-single-wm_article) .wm-blog-description{
        margin-top: 16px;
        font-size: 15px;
        line-height: 1.58;
    }

    body.wm-site:is(.wm-view-archive-wm_article,.wm-view-single-wm_article) .wm-blog-hero__mark{
        right: 18px;
        bottom: 12px;
        font-size: 76px;
    }

    body.wm-site:is(.wm-view-archive-wm_article,.wm-view-single-wm_article) .wm-blog-grid,
body.wm-site:is(.wm-view-archive-wm_article,.wm-view-single-wm_article) .wm-related-grid{
        grid-template-columns: 1fr;
        gap: 14px;
    }

    body.wm-site:is(.wm-view-archive-wm_article,.wm-view-single-wm_article) .wm-blog-card__body{
        padding: 19px 18px 21px;
    }

    body.wm-site:is(.wm-view-archive-wm_article,.wm-view-single-wm_article) .wm-blog-card__title{
        font-size: 21px;
    }

    body.wm-site:is(.wm-view-archive-wm_article,.wm-view-single-wm_article) .wm-article-breadcrumbs{
        margin-bottom: 22px;
    }

    body.wm-site:is(.wm-view-archive-wm_article,.wm-view-single-wm_article) .wm-article-breadcrumbs > span:last-child{
        max-width: 230px;
    }

    body.wm-site:is(.wm-view-archive-wm_article,.wm-view-single-wm_article) .wm-article-title{
        font-size: 38px;
    }

    body.wm-site:is(.wm-view-archive-wm_article,.wm-view-single-wm_article) .wm-article-cover{
        margin-bottom: 20px;
        border-radius: 18px;
    }

    body.wm-site:is(.wm-view-archive-wm_article,.wm-view-single-wm_article) .wm-article-content{
        padding: 24px 20px;
        border-radius: 18px;
        font-size: 16px;
        line-height: 1.7;
    }

    body.wm-site:is(.wm-view-archive-wm_article,.wm-view-single-wm_article) .wm-article-content h2{
        font-size: 28px;
    }

    body.wm-site:is(.wm-view-archive-wm_article,.wm-view-single-wm_article) .wm-article-content h3{
        font-size: 23px;
    }

    body.wm-site:is(.wm-view-archive-wm_article,.wm-view-single-wm_article) .wm-related-articles__head{
        align-items: flex-start;
        flex-direction: column;
    }
}
/* ========== КОНЕЦ: Блог и статьи ========== */



/* ========== НАЧАЛО: Шаблон: 404 ========== */
/* ============================================================
   404 PAGE — MIRACLE STYLE
============================================================ */

body.wm-site:where(.wm-view-404) .error-404-page{
    position: relative;
    min-height: calc(100vh - 80px);
    padding: 56px 20px 70px;
    background:
        radial-gradient(circle at top left, rgba(196, 69, 92, 0.12), transparent 420px),
        radial-gradient(circle at bottom right, rgba(196, 69, 92, 0.08), transparent 420px),
        var(--bg-body, #1a1a1a);
    color: #ffffff;
    overflow: hidden;
}

body.wm-site:where(.wm-view-404) .error-404-page::before{
    content: "MIRACLE";
    position: absolute;
    left: 50%;
    top: 52%;
    width: 100%;
    text-align: center;
    color: rgba(255, 255, 255, 0.025);
    font-size: clamp(72px, 15vw, 220px);
    line-height: 1;
    font-weight: 950;
    letter-spacing: 14px;
    pointer-events: none;
}

body.wm-site:where(.wm-view-404) .error-404-inner{
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1350px;
    min-height: 640px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 420px;
    gap: 44px;
    align-items: center;
}

/* Левая часть */

body.wm-site:where(.wm-view-404) .error-404-hero{
    max-width: 780px;
}

body.wm-site:where(.wm-view-404) .error-404-kicker{
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 7px 13px;
    margin-bottom: 24px;
    border-radius: 999px;
    background: rgba(196, 69, 92, 0.14);
    border: 1px solid rgba(196, 69, 92, 0.34);
    color: var(--accent-hover, #d75970);
    font-size: 13px;
    line-height: 1;
    font-weight: 850;
    letter-spacing: 0.4px;
    text-transform: uppercase;
}

body.wm-site:where(.wm-view-404) .error-404-number{
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 24px;
}

body.wm-site:where(.wm-view-404) .number-digit{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-hover, #d75970);
    font-size: clamp(92px, 12vw, 180px);
    line-height: 0.85;
    font-weight: 950;
    letter-spacing: -0.08em;
    text-shadow: 0 0 48px rgba(196, 69, 92, 0.18);
}

body.wm-site:where(.wm-view-404) .number-digit:nth-child(2){
    color: rgba(255, 255, 255, 0.94);
}

body.wm-site:where(.wm-view-404) .error-404-title{
    max-width: 720px;
    margin: 0;
    color: #ffffff;
    font-size: clamp(36px, 4vw, 58px);
    line-height: 1;
    font-weight: 950;
    letter-spacing: -0.06em;
}

body.wm-site:where(.wm-view-404) .error-404-description{
    max-width: 640px;
    margin: 22px 0 0;
    color: rgba(255, 255, 255, 0.70);
    font-size: 17px;
    line-height: 1.65;
}

body.wm-site:where(.wm-view-404) .error-404-actions{
    margin-top: 34px;
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

body.wm-site:where(.wm-view-404) .error-404-button{
    min-height: 48px;
    min-width: 170px;
    padding: 13px 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border-radius: 999px;
    background: var(--accent, #c4455c);
    border: 1px solid var(--accent, #c4455c);
    color: #ffffff;
    text-decoration: none;
    font-size: 15px;
    line-height: 1.2;
    font-weight: 850;
    transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

body.wm-site:where(.wm-view-404) .error-404-button:hover{
    background: var(--accent-hover, #d75970);
    border-color: var(--accent-hover, #d75970);
    color: #ffffff;
}

body.wm-site:where(.wm-view-404) .error-404-button--secondary{
    background: rgba(255, 255, 255, 0.045);
    border-color: rgba(255, 255, 255, 0.10);
    color: rgba(255, 255, 255, 0.78);
}

body.wm-site:where(.wm-view-404) .error-404-button--secondary:hover{
    background: rgba(255, 255, 255, 0.075);
    border-color: rgba(255, 255, 255, 0.18);
    color: #ffffff;
}

body.wm-site:where(.wm-view-404) .button-icon{
    font-size: 18px;
    line-height: 1;
}

/* Правая навигация */

body.wm-site:where(.wm-view-404) .error-404-links{
    position: relative;
    width: 100%;
    padding: 26px;
    border-radius: var(--radius-xl, 24px);
    background:
        radial-gradient(circle at top right, rgba(196, 69, 92, 0.12), transparent 260px),
        linear-gradient(180deg, rgba(255,255,255,0.055), rgba(255,255,255,0.015)),
        rgba(35, 34, 32, 0.86);
    border: 1px solid rgba(255, 255, 255, 0.10);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    overflow: hidden;
}

body.wm-site:where(.wm-view-404) .error-404-links::before{
    content: "";
    position: absolute;
    left: 20px;
    right: 20px;
    top: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent, #c4455c), transparent);
    opacity: 0.85;
}

body.wm-site:where(.wm-view-404) .links-head{
    margin-bottom: 18px;
}

body.wm-site:where(.wm-view-404) .links-kicker{
    margin: 0 0 7px;
    color: var(--accent-hover, #d75970);
    font-size: 12px;
    line-height: 1.2;
    font-weight: 850;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

body.wm-site:where(.wm-view-404) .links-title{
    margin: 0;
    color: #ffffff;
    font-size: 24px;
    line-height: 1.15;
    font-weight: 900;
    letter-spacing: -0.035em;
}

body.wm-site:where(.wm-view-404) .links-grid{
    display: grid;
    gap: 10px;
}

body.wm-site:where(.wm-view-404) .link-item{
    min-height: 48px;
    padding: 12px 14px;
    display: flex;
    align-items: center;
    gap: 12px;
    border-radius: var(--radius-md, 14px);
    background: rgba(0, 0, 0, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.065);
    color: rgba(255, 255, 255, 0.74);
    text-decoration: none;
    font-size: 15px;
    line-height: 1.25;
    font-weight: 700;
    transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

body.wm-site:where(.wm-view-404) .link-item:hover{
    background: rgba(196, 69, 92, 0.12);
    border-color: rgba(196, 69, 92, 0.38);
    color: #ffffff;
}

body.wm-site:where(.wm-view-404) .link-icon{
    width: 30px;
    height: 30px;
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    color: var(--accent-hover, #d75970);
    background: rgba(196, 69, 92, 0.12);
    border: 1px solid rgba(196, 69, 92, 0.26);
}

body.wm-site:where(.wm-view-404) .link-icon svg{
    width: 17px;
    height: 17px;
    display: block;
}

body.wm-site:where(.wm-view-404) .link-text{
    flex: 1;
    min-width: 0;
}

/* Лёгкое появление без движения */

body.wm-site:where(.wm-view-404) .error-404-hero,
body.wm-site:where(.wm-view-404) .error-404-links{
    animation: errorFade 0.45s ease both;
}

body.wm-site:where(.wm-view-404) .error-404-links{
    animation-delay: 0.08s;
}

@keyframes errorFade {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Адаптив */

@media (max-width: 1100px) {
    body.wm-site:where(.wm-view-404) .error-404-page{
        padding: 44px 16px 56px;
    }

    body.wm-site:where(.wm-view-404) .error-404-inner{
        min-height: 0;
        grid-template-columns: 1fr;
        gap: 34px;
        align-items: start;
    }

    body.wm-site:where(.wm-view-404) .error-404-links{
        max-width: 720px;
    }
}

@media (max-width: 768px) {
    body.wm-site:where(.wm-view-404) .error-404-page{
        padding: 34px 14px 44px;
    }

    body.wm-site:where(.wm-view-404) .error-404-number{
        margin-bottom: 20px;
    }

    body.wm-site:where(.wm-view-404) .number-digit{
        font-size: clamp(72px, 24vw, 120px);
    }

    body.wm-site:where(.wm-view-404) .error-404-title{
        font-size: 34px;
    }

    body.wm-site:where(.wm-view-404) .error-404-description{
        margin-top: 18px;
        font-size: 15px;
        line-height: 1.6;
    }

    body.wm-site:where(.wm-view-404) .error-404-actions{
        margin-top: 28px;
        gap: 10px;
    }

    body.wm-site:where(.wm-view-404) .error-404-button{
        width: 100%;
    }

    body.wm-site:where(.wm-view-404) .error-404-links{
        padding: 22px 18px;
        border-radius: var(--radius-lg, 20px);
    }

    body.wm-site:where(.wm-view-404) .links-title{
        font-size: 22px;
    }
}

@media (max-width: 480px) {
    body.wm-site:where(.wm-view-404) .error-404-page{
        padding-left: 10px;
        padding-right: 10px;
    }

    body.wm-site:where(.wm-view-404) .error-404-kicker{
        font-size: 12px;
    }

    body.wm-site:where(.wm-view-404) .error-404-title{
        font-size: 30px;
    }

    body.wm-site:where(.wm-view-404) .error-404-description{
        font-size: 14px;
    }

    body.wm-site:where(.wm-view-404) .error-404-links{
        padding: 20px 14px;
    }

    body.wm-site:where(.wm-view-404) .number-digit{
        letter-spacing: -0.1em;
    }
}
/* ========== КОНЕЦ: Шаблон: 404 ========== */



/* ========== НАЧАЛО: Шаблон: faq ========== */
body.wm-site:where(.wm-view-faq) .faq-wrap{
    min-height: calc(100vh - 80px);
    padding: 30px 20px;
}

body.wm-site:where(.wm-view-faq) .faq-container{
    max-width: 1200px;
    margin: 0 auto;
}

body.wm-site:where(.wm-view-faq) .faq-main-title{
    color: #ffffff;
    font-size: 32px;
    font-weight: 600;
    margin-bottom: 10px;
    text-align: center;
    position: relative;
    padding-bottom: 20px;
}

body.wm-site:where(.wm-view-faq) .faq-main-title::after{
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background: #c4455c;
    border-radius: 1px;
}

body.wm-site:where(.wm-view-faq) .faq-main-subtitle{
    color: #9ca3af;
    font-size: 14px;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
    font-weight: 500;
}

body.wm-site:where(.wm-view-faq) .faq-content{
    margin: 0 auto;
}

body.wm-site:where(.wm-view-faq) .faq-section{
    margin-bottom: 40px;
    background: #1a1a1a;
    border-radius: 12px;
    border: 1px solid #2d2d2d;
    padding: 25px;
}

body.wm-site:where(.wm-view-faq) .faq-section-title{
    color: #ffffff;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #2d2d2d;
}

body.wm-site:where(.wm-view-faq) .faq-section-content{
    color: #9ca3af;
    font-size: 15px;
    line-height: 1.6;
}

body.wm-site:where(.wm-view-faq) .faq-section-content p{
    margin-bottom: 15px;
}

body.wm-site:where(.wm-view-faq) .faq-question-group{
    margin-top: 20px;
}

body.wm-site:where(.wm-view-faq) .faq-question-item{
    margin-bottom: 15px;
    background: #252525;
    border-radius: 8px;
    border: 1px solid #333;
    overflow: hidden;
    transition: all 0.3s ease;
}

body.wm-site:where(.wm-view-faq) .faq-question-item:last-child{
    margin-bottom: 0;
}

body.wm-site:where(.wm-view-faq) .faq-question-item.active{
    border-color: #c4455c;
}

body.wm-site:where(.wm-view-faq) .faq-question-header{
    display: flex;
    align-items: center;
    padding: 18px 20px;
    cursor: pointer;
    transition: all 0.2s ease;
}

body.wm-site:where(.wm-view-faq) .faq-question-header:hover{
    background: rgba(255, 255, 255, 0.02);
}

body.wm-site:where(.wm-view-faq) .faq-question-marker{
    margin-right: 15px;
}

body.wm-site:where(.wm-view-faq) .marker-number{
    display: inline-block;
    width: 32px;
    height: 32px;
    background: #333;
    color: #9ca3af;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 600;
}

body.wm-site:where(.wm-view-faq) .faq-question-item.active .marker-number{
    background: #c4455c;
    color: #ffffff;
}

body.wm-site:where(.wm-view-faq) .faq-question-title{
    color: #ffffff;
    font-size: 16px;
    font-weight: 500;
    flex: 1;
    margin: 0;
    line-height: 1.4;
}

body.wm-site:where(.wm-view-faq) .faq-toggle-btn{
    background: transparent;
    border: none;
    color: #9ca3af;
    font-size: 20px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    border-radius: 4px;
}

body.wm-site:where(.wm-view-faq) .faq-toggle-btn:hover{
    background: rgba(255, 255, 255, 0.05);
    color: #ffffff;
}

body.wm-site:where(.wm-view-faq) .faq-question-item.active .faq-toggle-btn .toggle-icon{
    transform: rotate(45deg);
}

body.wm-site:where(.wm-view-faq) .faq-answer{
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

body.wm-site:where(.wm-view-faq) .faq-question-item.active .faq-answer{
    max-height: 1000px;
}

body.wm-site:where(.wm-view-faq) .faq-answer-content{
    padding: 0 20px 20px 20px;
    color: #9ca3af;
    font-size: 14px;
    line-height: 1.6;
}

body.wm-site:where(.wm-view-faq) .faq-answer-content p{
    margin-bottom: 15px;
}

body.wm-site:where(.wm-view-faq) .faq-answer-content ul{
    list-style: none;
    padding-left: 0;
    margin: 15px 0;
}

body.wm-site:where(.wm-view-faq) .faq-answer-content li{
    position: relative;
    padding-left: 20px;
    margin-bottom: 8px;
}

body.wm-site:where(.wm-view-faq) .faq-answer-content li:before{
    content: "—";
    position: absolute;
    left: 0;
    color: #6b7280;
}

body.wm-site:where(.wm-view-faq) .faq-answer-content strong{
    color: #ffffff;
    font-weight: 600;
}

body.wm-site:where(.wm-view-faq) .faq-help{
    margin-top: 50px;
    background: #1a1a1a;
    border-radius: 12px;
    border: 1px solid #2d2d2d;
    padding: 30px;
    text-align: center;
}

body.wm-site:where(.wm-view-faq) .faq-help-content{
    max-width: 500px;
    margin: 0 auto;
}

body.wm-site:where(.wm-view-faq) .faq-help-title{
    color: #ffffff;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 15px;
}

body.wm-site:where(.wm-view-faq) .faq-help-text{
    color: #9ca3af;
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 25px;
}

body.wm-site:where(.wm-view-faq) .faq-help-btn{
    display: inline-block;
    padding: 12px 32px;
    background: #c4455c;
    color: #ffffff;
    text-decoration: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 500;
    border: 1px solid #c4455c;
    transition: all 0.2s ease;
}

body.wm-site:where(.wm-view-faq) .faq-help-btn:hover{
    background: #d4566d;
    transform: translateY(-1px);
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

body.wm-site:where(.wm-view-faq) .faq-question-item{
    animation: fadeIn 0.4s ease-out;
}

@media (max-width: 768px) {
    body.wm-site:where(.wm-view-faq) .faq-wrap{
        padding: 20px 15px;
    }

    body.wm-site:where(.wm-view-faq) .faq-main-title{
        font-size: 24px;
        padding-bottom: 15px;
    }

    body.wm-site:where(.wm-view-faq) .faq-main-subtitle{
        font-size: 12px;
    }

    body.wm-site:where(.wm-view-faq) .faq-section{
        padding: 20px;
    }

    body.wm-site:where(.wm-view-faq) .faq-section-title{
        font-size: 18px;
    }

    body.wm-site:where(.wm-view-faq) .faq-question-header{
        padding: 15px;
    }

    body.wm-site:where(.wm-view-faq) .faq-question-title{
        font-size: 15px;
    }

    body.wm-site:where(.wm-view-faq) .faq-answer-content{
        padding: 0 15px 15px 15px;
    }

    body.wm-site:where(.wm-view-faq) .faq-help{
        padding: 25px 20px;
    }
}

@media (max-width: 480px) {
    body.wm-site:where(.wm-view-faq) .faq-wrap{
        padding: 15px 10px;
    }

    body.wm-site:where(.wm-view-faq) .faq-main-title{
        font-size: 22px;
    }

    body.wm-site:where(.wm-view-faq) .faq-main-subtitle{
        font-size: 11px;
        letter-spacing: 1px;
    }

    body.wm-site:where(.wm-view-faq) .faq-section{
        padding: 15px;
    }

    body.wm-site:where(.wm-view-faq) .faq-question-header{
        padding: 12px;
    }

    body.wm-site:where(.wm-view-faq) .marker-number{
        width: 28px;
        height: 28px;
        font-size: 11px;
    }

    body.wm-site:where(.wm-view-faq) .faq-question-title{
        font-size: 14px;
    }

    body.wm-site:where(.wm-view-faq) .faq-help{
        padding: 20px 15px;
    }

    body.wm-site:where(.wm-view-faq) .faq-help-btn{
        width: 100%;
        padding: 14px 20px;
    }
}
/* ========== КОНЕЦ: Шаблон: faq ========== */



/* ========== НАЧАЛО: Шаблон: index ========== */
/* ============================================================
   ЛИЧНЫЙ КАБИНЕТ — СТРОГИЙ РЕДИЗАЙН
   Везде border-radius: 7px
   Без transform
============================================================ */

body.wm-site:where(.wm-view-index){
    --wm-bg: #171615;
    --wm-card: #232220;
    --wm-card-2: #2c2b28;
    --wm-card-3: #191817;
    --wm-border: rgba(255, 255, 255, 0.1);
    --wm-border-strong: rgba(255, 255, 255, 0.18);
    --wm-text: #ffffff;
    --wm-muted: rgba(255, 255, 255, 0.66);
    --wm-muted-2: rgba(255, 255, 255, 0.42);
    --wm-accent: #c4455c;
    --wm-accent-hover: #d15a71;
    --wm-accent-dark: #9f3246;
    --wm-green: #4CAF50;
    --wm-yellow: #f6b23c;
    --wm-red: #fb7185;
    --wm-blue: #60a5fa;
    --wm-radius: 7px;
}

body.wm-site:where(.wm-view-index) main{
    background: transparent;
    min-height: calc(100vh - 200px);
}

body.wm-site:where(.wm-view-index) a{
    color: var(--wm-accent);
    transition: 0.2s ease;
}

body.wm-site:where(.wm-view-index) a:hover{
    color: var(--wm-accent-hover);
}

body.wm-site:where(.wm-view-index) button,
body.wm-site:where(.wm-view-index) input,
body.wm-site:where(.wm-view-index) textarea,
body.wm-site:where(.wm-view-index) select{
    font-family: inherit;
}

body.wm-site:where(.wm-view-index) button{
    cursor: pointer;
}

body.wm-site:where(.wm-view-index) button:disabled{
    opacity: 0.55;
    cursor: not-allowed;
}

body.wm-site:where(.wm-view-index) input,
body.wm-site:where(.wm-view-index) textarea,
body.wm-site:where(.wm-view-index) select{
    color: var(--wm-text);
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid var(--wm-border-strong);
    border-radius: var(--wm-radius);
    padding: 11px 14px;
    transition: 0.2s ease;
}

body.wm-site:where(.wm-view-index) input:focus,
body.wm-site:where(.wm-view-index) textarea:focus,
body.wm-site:where(.wm-view-index) select:focus{
    outline: none;
    border-color: rgba(196, 69, 92, 0.85);
    background: rgba(255, 255, 255, 0.1);
}

body.wm-site:where(.wm-view-index) input::placeholder,
body.wm-site:where(.wm-view-index) textarea::placeholder{
    color: rgba(255, 255, 255, 0.35);
}

body.wm-site:where(.wm-view-index) ul,
body.wm-site:where(.wm-view-index) ol{
    list-style: none;
    padding: 0;
    margin: 0;
}

/* ============================================================
   ОСНОВНАЯ СЕТКА
============================================================ */

body.wm-site:where(.wm-view-index) .account-panel{
    max-width: 1350px;
    margin: 34px auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    gap: 24px;
    background: transparent;
}

body.wm-site:where(.wm-view-index) .account-left{
    position: sticky;
    top: 20px;
    height: fit-content;
    padding: 26px 22px;
    background:
        linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.025)),
        var(--wm-card);
    border: 1px solid var(--wm-border);
    border-radius: var(--wm-radius);
}

body.wm-site:where(.wm-view-index) .account-right{
    min-width: 0;
    background:
        linear-gradient(180deg, rgba(255,255,255,0.055), rgba(255,255,255,0.018)),
        var(--wm-card);
    border: 1px solid var(--wm-border);
    border-radius: var(--wm-radius);
    padding: 28px;
    overflow: hidden;
}

body.wm-site:where(.wm-view-index) .account-header{
    margin-bottom: 24px;
    padding-bottom: 22px;
    border-bottom: 1px solid var(--wm-border);
}

body.wm-site:where(.wm-view-index) .account-title{
    font-size: 28px;
    line-height: 1.15;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--wm-text);
    margin-bottom: 6px;
}

body.wm-site:where(.wm-view-index) .account-subtitle{
    font-size: 14px;
    color: var(--wm-muted);
}

/* ============================================================
   АВАТАР
============================================================ */

body.wm-site:where(.wm-view-index) .account-avatar{
    position: relative;
    width: 146px;
    height: 146px;
    margin: 0 auto 20px;
}

body.wm-site:where(.wm-view-index) .account-avatar-wrapper{
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
    cursor: pointer;
    border-radius: 50%;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.22);
    background: var(--wm-card-3);
}

body.wm-site:where(.wm-view-index) #account-avatar-img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: 0.25s ease;
}

body.wm-site:where(.wm-view-index) .account-avatar-overlay{
    position: absolute;
    inset: 0;
    background: rgba(17, 16, 15, 0.76);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: 0.2s ease;
}

body.wm-site:where(.wm-view-index) .account-avatar-wrapper:hover .account-avatar-overlay{
    opacity: 1;
}

body.wm-site:where(.wm-view-index) .account-avatar-text{
    color: white;
    font-size: 12px;
    font-weight: 700;
    text-align: center;
    padding: 0 14px;
}

body.wm-site:where(.wm-view-index) #account-avatar-file{
    display: none;
}

body.wm-site:where(.wm-view-index) .account-avatar-status{
    min-height: 18px;
    margin-top: 10px;
    font-size: 12px;
    text-align: center;
    color: var(--wm-muted);
}

body.wm-site:where(.wm-view-index) .account-avatar-status.success{
    color: var(--wm-green);
}

body.wm-site:where(.wm-view-index) .account-avatar-status.error{
    color: var(--wm-red);
}

body.wm-site:where(.wm-view-index) .account-name{
    font-size: 18px;
    font-weight: 800;
    color: white;
    text-align: center;
    margin-bottom: 6px;
}

body.wm-site:where(.wm-view-index) .account-name-secondary{
    font-size: 14px;
    color: var(--wm-muted);
    text-align: center;
    margin-bottom: 10px;
}

body.wm-site:where(.wm-view-index) .account-id{
    width: fit-content;
    margin: 0 auto;
    padding: 6px 10px;
    border-radius: var(--wm-radius);
    background: rgba(255,255,255,0.06);
    border: 1px solid var(--wm-border);
    font-size: 12px;
    color: var(--wm-muted);
}

/* ============================================================
   КНОПКИ
============================================================ */

body.wm-site:where(.wm-view-index) .account-header-buttons{
    display: flex;
    gap: 12px;
    margin-top: 18px;
    flex-wrap: wrap;
    align-items: center;
}

body.wm-site:where(.wm-view-index) .account-guest-button,
body.wm-site:where(.wm-view-index) .account-save-button,
body.wm-site:where(.wm-view-index) .anketa-edit-button,
body.wm-site:where(.wm-view-index) .anketa-top-button,
body.wm-site:where(.wm-view-index) .payment-submit-btn,
body.wm-site:where(.wm-view-index) .wm-top-modal__btn,
body.wm-site:where(.wm-view-index) .wm-top-extend-btn,
body.wm-site:where(.wm-view-index) .account-anketa-tooltip__btn{
    border: 0;
    text-decoration: none;
    border-radius: var(--wm-radius);
    font-weight: 800;
    transition: 0.18s ease;
}

body.wm-site:where(.wm-view-index) .payment-section-hint{
    margin: -6px 0 18px;
    padding: 12px 14px;
    border-radius: var(--wm-radius);
    background: rgba(255,255,255,0.045);
    border: 1px solid var(--wm-border);
    color: rgba(255,255,255,0.74);
    font-size: 13px;
    line-height: 1.45;
    font-weight: 700;
}

body.wm-site:where(.wm-view-index) .payment-section-hint strong{
    color: #ffffff;
    font-weight: 900;
}

body.wm-site:where(.wm-view-index) .account-guest-button,
body.wm-site:where(.wm-view-index) .account-save-button{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 11px 18px;
    background: linear-gradient(135deg, var(--wm-accent), var(--wm-accent-dark));
    color: white !important;
    font-size: 14px;
}

body.wm-site:where(.wm-view-index) .account-guest-button:hover,
body.wm-site:where(.wm-view-index) .account-save-button:hover{
    background: linear-gradient(135deg, var(--wm-accent-hover), var(--wm-accent));
    color: white !important;
}

/* ============================================================
   ИНСТРУКЦИЯ
============================================================ */

body.wm-site:where(.wm-view-index) .account-instruction-dropdown{
    position: relative;
    display: inline-block;
}

body.wm-site:where(.wm-view-index) .account-instruction-button{
    min-height: 42px;
    padding: 11px 18px;
    background: rgba(255,255,255,0.07);
    color: white;
    border: 1px solid var(--wm-border-strong);
    border-radius: var(--wm-radius);
    font-size: 14px;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: 0.18s ease;
}

body.wm-site:where(.wm-view-index) .account-instruction-button:hover{
    background: rgba(255,255,255,0.1);
    border-color: rgba(196, 69, 92, 0.55);
}

body.wm-site:where(.wm-view-index) .dropdown-arrow{
    font-size: 10px;
}

body.wm-site:where(.wm-view-index) .instruction-dropdown-menu{
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    width: 250px;
    background: #1f1e1c;
    border: 1px solid var(--wm-border-strong);
    border-radius: var(--wm-radius);
    padding: 8px;
    opacity: 0;
    visibility: hidden;
    transition: 0.18s ease;
    z-index: 1000;
}

body.wm-site:where(.wm-view-index) .account-instruction-dropdown:hover .instruction-dropdown-menu{
    opacity: 1;
    visibility: visible;
}

body.wm-site:where(.wm-view-index) .instruction-menu-item{
    display: block;
    padding: 12px 12px;
    color: rgba(255,255,255,0.82);
    text-decoration: none;
    font-size: 14px;
    border-radius: var(--wm-radius);
}

body.wm-site:where(.wm-view-index) .instruction-menu-item:hover{
    background: rgba(196, 69, 92, 0.15);
    color: white;
}

/* ============================================================
   ПОПАПЫ
============================================================ */

body.wm-site:where(.wm-view-index) .instruction-popup-overlay,
body.wm-site:where(.wm-view-index) .wm-top-modal-overlay{
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.78);
    opacity: 0;
    visibility: hidden;
    transition: 0.22s ease;
    z-index: 9998;
}

body.wm-site:where(.wm-view-index) .instruction-popup-overlay.active,
body.wm-site:where(.wm-view-index) .wm-top-modal-overlay.active{
    opacity: 1;
    visibility: visible;
}

body.wm-site:where(.wm-view-index) .instruction-popup,
body.wm-site:where(.wm-view-index) .wm-top-modal{
    position: fixed;
    top: 35%;
    left: 50%;
    width: 92%;
    max-width: 660px;
    max-height: 84vh;
    background: #232220;
    border: 1px solid var(--wm-border-strong);
    border-radius: var(--wm-radius);
    opacity: 0;
    visibility: hidden;
    transition: 0.22s ease;
    z-index: 9999;
    overflow: hidden;
    margin-left: -330px;
    margin-top: -260px;
}

body.wm-site:where(.wm-view-index) .instruction-popup.active,
body.wm-site:where(.wm-view-index) .wm-top-modal.active{
    opacity: 1;
    visibility: visible;
}

body.wm-site:where(.wm-view-index) .instruction-popup-header,
body.wm-site:where(.wm-view-index) .wm-top-modal__header{
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 20px;
    background: #1d1c1a;
    border-bottom: 1px solid var(--wm-border);
}

body.wm-site:where(.wm-view-index) .instruction-popup-header h3,
body.wm-site:where(.wm-view-index) .wm-top-modal__title{
    margin: 0;
    color: white;
    font-size: 20px;
    font-weight: 900;
    letter-spacing: -0.02em;
}

body.wm-site:where(.wm-view-index) .instruction-popup-close,
body.wm-site:where(.wm-view-index) .wm-top-modal__close{
    width: 36px;
    height: 36px;
    background: rgba(255,255,255,0.06);
    border: 1px solid var(--wm-border);
    border-radius: var(--wm-radius);
    color: rgba(255,255,255,0.7);
    font-size: 24px;
    line-height: 1;
}

body.wm-site:where(.wm-view-index) .instruction-popup-close:hover,
body.wm-site:where(.wm-view-index) .wm-top-modal__close:hover{
    color: white;
    background: rgba(196,69,92,0.18);
}

body.wm-site:where(.wm-view-index) .instruction-popup-content{
    padding: 20px;
    overflow-y: auto;
    max-height: calc(84vh - 74px);
}

body.wm-site:where(.wm-view-index) .instruction-popup-content h4{
    color: white;
    font-size: 18px;
    margin: 0 0 18px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--wm-border);
}

body.wm-site:where(.wm-view-index) .instruction-step{
    display: grid;
    grid-template-columns: 36px minmax(0, 1fr);
    gap: 14px;
    padding: 16px 0;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

body.wm-site:where(.wm-view-index) .instruction-step:last-child{
    border-bottom: 0;
}

body.wm-site:where(.wm-view-index) .instruction-step-number{
    width: 34px;
    height: 34px;
    border-radius: var(--wm-radius);
    background: linear-gradient(135deg, var(--wm-accent), var(--wm-accent-dark));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 13px;
}

body.wm-site:where(.wm-view-index) .instruction-step-content strong{
    display: block;
    color: white;
    margin-bottom: 8px;
    font-size: 15px;
}

body.wm-site:where(.wm-view-index) .instruction-step-content p,
body.wm-site:where(.wm-view-index) .instruction-step-content li{
    color: rgba(255,255,255,0.78);
    font-size: 14px;
    line-height: 1.6;
}

body.wm-site:where(.wm-view-index) .instruction-step-content ul{
    margin: 10px 0 0;
    padding-left: 0;
}

body.wm-site:where(.wm-view-index) .instruction-step-content li{
    position: relative;
    padding-left: 16px;
    margin-bottom: 6px;
}

body.wm-site:where(.wm-view-index) .instruction-step-content li::before{
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 5px;
    height: 5px;
    border-radius: var(--wm-radius);
    background: var(--wm-accent);
}

body.wm-site:where(.wm-view-index) .instruction-note,
body.wm-site:where(.wm-view-index) .instruction-tip,
body.wm-site:where(.wm-view-index) .instruction-important{
    margin: 12px 0;
    padding: 12px 14px;
    border-radius: var(--wm-radius);
    font-size: 14px;
    line-height: 1.5;
    color: rgba(255,255,255,0.86);
}

body.wm-site:where(.wm-view-index) .instruction-note{
    background: rgba(96,165,250,0.12);
    border: 1px solid rgba(96,165,250,0.24);
}

body.wm-site:where(.wm-view-index) .instruction-tip{
    background: rgba(76,175,80,0.12);
    border: 1px solid rgba(76,175,80,0.24);
}

body.wm-site:where(.wm-view-index) .instruction-important{
    background: rgba(196,69,92,0.13);
    border: 1px solid rgba(196,69,92,0.28);
}

body.wm-site:where(.wm-view-index) .payment-method,
body.wm-site:where(.wm-view-index) .pricing-tier{
    padding: 12px 14px;
    background: rgba(255,255,255,0.06);
    border: 1px solid var(--wm-border);
    border-radius: var(--wm-radius);
    margin-bottom: 8px;
    color: rgba(255,255,255,0.86);
    font-size: 14px;
}

body.wm-site:where(.wm-view-index) .status-on{
    color: var(--wm-green);
    font-weight: 700;
}

body.wm-site:where(.wm-view-index) .status-off{
    color: var(--wm-red);
    font-weight: 700;
}

body.wm-site:where(.wm-view-index) .status-pending{
    color: var(--wm-yellow);
    font-weight: 700;
}

body.wm-site:where(.wm-view-index) .status-verified{
    color: var(--wm-blue);
    font-weight: 700;
}

/* ============================================================
   ТАБЫ
============================================================ */

body.wm-site:where(.wm-view-index) .account-tabs{
    display: flex;
    gap: 8px;
    padding: 6px;
    margin-bottom: 24px;
    background: rgba(255,255,255,0.045);
    border: 1px solid var(--wm-border);
    border-radius: var(--wm-radius);
    overflow-x: auto;
}

body.wm-site:where(.wm-view-index) .account-tab{
    flex: 1;
    min-height: 42px;
    padding: 10px 14px;
    background: transparent;
    border: 0;
    border-radius: var(--wm-radius);
    color: rgba(255,255,255,0.66);
    font-size: 14px;
    font-weight: 800;
    white-space: nowrap;
    transition: 0.18s ease;
}

body.wm-site:where(.wm-view-index) .account-tab:hover{
    color: white;
    background: rgba(255,255,255,0.05);
}

body.wm-site:where(.wm-view-index) .account-tab.active{
    color: white;
    background: linear-gradient(135deg, rgba(196,69,92,0.9), rgba(159,50,70,0.9));
}

body.wm-site:where(.wm-view-index) .account-tab.active::after{
    display: none;
}

body.wm-site:where(.wm-view-index) .account-tab-content{
    display: none;
}

body.wm-site:where(.wm-view-index) .account-tab-content.is-active{
    display: block;
}

/* ============================================================
   СЕКЦИИ
============================================================ */

body.wm-site:where(.wm-view-index) .account-section{
    margin-bottom: 24px;
    padding: 20px;
    background: rgba(255,255,255,0.035);
    border: 1px solid var(--wm-border);
    border-radius: var(--wm-radius);
}

body.wm-site:where(.wm-view-index) .account-section-title{
    font-size: 18px;
    font-weight: 900;
    color: white;
    margin-bottom: 18px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--wm-border);
}

body.wm-site:where(.wm-view-index) .account-section-row{
    display: grid;
    grid-template-columns: 210px minmax(0, 1fr);
    gap: 18px;
    align-items: center;
    padding: 13px 0;
    border-bottom: 1px solid rgba(255,255,255,0.055);
}

body.wm-site:where(.wm-view-index) .account-section-row:last-child{
    border-bottom: 0;
}

body.wm-site:where(.wm-view-index) .account-label{
    font-size: 14px;
    color: var(--wm-muted);
}

body.wm-site:where(.wm-view-index) .account-value{
    font-size: 14px;
    color: white;
    word-break: break-word;
}

body.wm-site:where(.wm-view-index) .account-input-wrap{
    width: 100%;
}

body.wm-site:where(.wm-view-index) .account-input{
    width: 100%;
    max-width: 380px;
}

body.wm-site:where(.wm-view-index) .account-settings-footer{
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 22px;
}

body.wm-site:where(.wm-view-index) .account-settings-status{
    min-height: 20px;
    font-size: 14px;
    color: var(--wm-muted);
}

body.wm-site:where(.wm-view-index) .account-settings-status.success{
    color: var(--wm-green);
}

body.wm-site:where(.wm-view-index) .account-settings-status.error{
    color: var(--wm-red);
}

/* ============================================================
   БАЛАНС И ОПЛАТА
============================================================ */

body.wm-site:where(.wm-view-index) .account-balance-top{
    display: grid;
    grid-template-columns: minmax(220px, 320px) minmax(0, 1fr);
    gap: 16px;
    align-items: stretch;
    margin: 6px 0 24px;
}

body.wm-site:where(.wm-view-index) .account-balance-amount{
    position: relative;
    min-height: 126px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    margin: 0;
    padding: 34px 20px 22px;
    border-radius: var(--wm-radius);
    background:
        radial-gradient(circle at top left, rgba(196,69,92,0.26), transparent 220px),
        rgba(255,255,255,0.045);
    border: 1px solid var(--wm-border);
    color: white;
    font-size: 42px;
    line-height: 1;
    font-weight: 900;
    letter-spacing: -0.03em;
    text-align: center;
    white-space: nowrap;
}

body.wm-site:where(.wm-view-index) .account-balance-amount::before{
    content: 'Текущий баланс';
    position: absolute;
    top: 18px;
    left: 20px;
    right: 20px;
    color: var(--wm-muted);
    font-size: 13px;
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: 0;
    text-align: center;
}

body.wm-site:where(.wm-view-index) .account-balance-currency{
    display: inline-flex;
    align-items: center;
    margin: 0 0 3px;
    color: var(--wm-muted);
    font-size: 22px;
    line-height: 1;
    font-weight: 900;
    letter-spacing: 0;
}

body.wm-site:where(.wm-view-index) .account-balance-support{
    padding: 18px;
    border-radius: var(--wm-radius);
    background: rgba(255,255,255,0.045);
    border: 1px solid var(--wm-border);
}

body.wm-site:where(.wm-view-index) .account-balance-support__title{
    margin-bottom: 8px;
    color: #ffffff;
    font-size: 17px;
    line-height: 1.2;
    font-weight: 900;
}

body.wm-site:where(.wm-view-index) .account-balance-support__text{
    max-width: 520px;
    margin-bottom: 14px;
    color: var(--wm-muted);
    font-size: 14px;
    line-height: 1.55;
}

body.wm-site:where(.wm-view-index) .account-balance-support__btn{
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 14px;
    background: rgba(255,255,255,0.08);
    border: 1px solid var(--wm-border-strong);
    border-radius: var(--wm-radius);
    color: #ffffff !important;
    text-decoration: none;
    font-size: 13px;
    font-weight: 900;
    transition: 0.18s ease;
}

body.wm-site:where(.wm-view-index) .account-balance-support__btn:hover{
    background: rgba(196,69,92,0.18);
    border-color: rgba(196,69,92,0.5);
    color: #ffffff !important;
}

body.wm-site:where(.wm-view-index) .account-balance-note{
    color: var(--wm-muted);
    font-size: 14px;
}

body.wm-site:where(.wm-view-index) .payment-section{
    margin-top: 28px;
    padding-top: 26px;
    border-top: 1px solid var(--wm-border);
}

body.wm-site:where(.wm-view-index) .payment-section-title{
    margin: 0 0 18px;
    color: white;
    font-size: 20px;
    font-weight: 900;
}

body.wm-site:where(.wm-view-index) .payment-section-title::after{
    display: none;
}

body.wm-site:where(.wm-view-index) .payment-methods-list{
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 22px;
}

body.wm-site:where(.wm-view-index) .payment-method-item{
    position: relative;
    min-height: 78px;
    display: flex;
    align-items: center;
    padding: 16px 44px 16px 16px;
    background: rgba(255,255,255,0.045);
    border: 1px solid var(--wm-border);
    border-radius: var(--wm-radius);
    cursor: pointer;
    transition: 0.18s ease;
}

body.wm-site:where(.wm-view-index) .payment-method-item:hover{
    border-color: rgba(196,69,92,0.55);
    background: rgba(196,69,92,0.08);
}

body.wm-site:where(.wm-view-index) .payment-method-item.active{
    border-color: rgba(196,69,92,0.85);
    background: rgba(196,69,92,0.14);
}

body.wm-site:where(.wm-view-index) .payment-method-item.active::after{
    content: '✓';
    position: absolute;
    right: 16px;
    top: 16px;
    width: 24px;
    height: 24px;
    border-radius: var(--wm-radius);
    background: var(--wm-accent);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 900;
}

body.wm-site:where(.wm-view-index) .payment-method-info{
    display: flex;
    flex-direction: column;
    gap: 4px;
}

body.wm-site:where(.wm-view-index) .payment-method-name{
    color: white;
    font-size: 17px;
    font-weight: 900;
}

body.wm-site:where(.wm-view-index) .payment-method-fee{
    color: var(--wm-muted);
    font-size: 13px;
    font-weight: 600;
}

body.wm-site:where(.wm-view-index) .payment-form-wrapper{
    margin-top: 18px;
}

body.wm-site:where(.wm-view-index) .payment-form{
    padding: 20px;
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--wm-border);
    border-radius: var(--wm-radius);
}

body.wm-site:where(.wm-view-index) .payment-form-row{
    margin-bottom: 16px;
}

body.wm-site:where(.wm-view-index) .payment-form-row label{
    display: block;
    margin-bottom: 8px;
    color: var(--wm-muted);
    font-size: 14px;
    font-weight: 700;
}

body.wm-site:where(.wm-view-index) .payment-input{
    width: 100%;
}

body.wm-site:where(.wm-view-index) .payment-input--error{
    border-color: rgba(251, 113, 133, 0.95) !important;
    background: rgba(251, 113, 133, 0.09) !important;
}

body.wm-site:where(.wm-view-index) .payment-min-note{
    margin-top: 8px;
    padding: 10px 12px;
    border-radius: var(--wm-radius);
    background: rgba(196, 69, 92, 0.11);
    border: 1px solid rgba(196, 69, 92, 0.24);
    color: rgba(255,255,255,0.76);
    font-size: 13px;
    line-height: 1.45;
    font-weight: 700;
}

body.wm-site:where(.wm-view-index) .payment-min-note strong{
    color: #ffffff;
    font-weight: 900;
}

body.wm-site:where(.wm-view-index) .payment-method-commission{
    display: inline-flex;
    width: fit-content;
    margin-top: 8px;
    padding: 6px 8px;
    border-radius: var(--wm-radius);
    background: rgba(76, 175, 80, 0.12);
    border: 1px solid rgba(76, 175, 80, 0.26);
    color: #86efac;
    font-size: 12px;
    line-height: 1.25;
    font-weight: 800;
}

body.wm-site:where(.wm-view-index) .payment-method-commission strong{
    color: #ffffff;
    font-weight: 900;
}

body.wm-site:where(.wm-view-index) .payment-method-commission--variable{
    background: rgba(96, 165, 250, 0.12);
    border-color: rgba(96, 165, 250, 0.26);
    color: #93c5fd;
}

body.wm-site:where(.wm-view-index) .payment-method-item.active .payment-method-commission{
    background: rgba(76, 175, 80, 0.17);
    border-color: rgba(76, 175, 80, 0.36);
}

body.wm-site:where(.wm-view-index) .payment-method-item.active .payment-method-commission--variable{
    background: rgba(96, 165, 250, 0.17);
    border-color: rgba(96, 165, 250, 0.36);
}

body.wm-site:where(.wm-view-index) .payment-method-warning{
    display: inline-flex;
    width: fit-content;
    margin-top: 8px;
    padding: 6px 8px;
    border-radius: var(--wm-radius);
    background: rgba(246, 178, 60, 0.13);
    border: 1px solid rgba(246, 178, 60, 0.28);
    color: #fbbf24;
    font-size: 12px;
    line-height: 1.25;
    font-weight: 800;
}

body.wm-site:where(.wm-view-index) .payment-method-warning strong{
    color: #ffffff;
    font-weight: 900;
}

body.wm-site:where(.wm-view-index) .payment-method-item--crocopay.active .payment-method-warning{
    background: rgba(246, 178, 60, 0.18);
    border-color: rgba(246, 178, 60, 0.38);
}

body.wm-site:where(.wm-view-index) .payment-summary{
    margin: 18px 0;
    padding: 14px 16px;
    background: rgba(196,69,92,0.12);
    border: 1px solid rgba(196,69,92,0.24);
    border-radius: var(--wm-radius);
    text-align: center;
}

body.wm-site:where(.wm-view-index) #payment-summary-text{
    color: white;
    font-size: 18px;
    font-weight: 900;
}

body.wm-site:where(.wm-view-index) #payment-amount-display{
    color: var(--wm-accent-hover);
}

body.wm-site:where(.wm-view-index) .payment-submit-btn{
    width: 100%;
    min-height: 48px;
    padding: 14px 18px;
    background: linear-gradient(135deg, var(--wm-accent), var(--wm-accent-dark));
    color: white;
    font-size: 15px;
}

body.wm-site:where(.wm-view-index) .payment-submit-btn:not(:disabled):hover{
    background: linear-gradient(135deg, var(--wm-accent-hover), var(--wm-accent));
}

body.wm-site:where(.wm-view-index) .payment-submit-btn:disabled{
    background: rgba(255,255,255,0.12);
}

body.wm-site:where(.wm-view-index) .payment-error{
    min-height: 20px;
    margin-top: 12px;
    color: var(--wm-red);
    font-size: 13px;
    text-align: center;
}

/* ============================================================
   МОИ АНКЕТЫ
============================================================ */

body.wm-site:where(.wm-view-index) .ankety-wrapper_index{
    max-width: 1350px;
    margin: 42px auto 70px;
    padding: 0 20px;
}

body.wm-site:where(.wm-view-index) .ankety-section{
    margin-bottom: 56px;
}

body.wm-site:where(.wm-view-index) .ankety-title{
    margin: 0 0 22px;
    padding: 0 0 16px;
    border-bottom: 1px solid var(--wm-border);
    color: white;
    font-size: 28px;
    line-height: 1.15;
    font-weight: 900;
    letter-spacing: -0.03em;
}

body.wm-site:where(.wm-view-index) .ankety-list{
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

body.wm-site:where(.wm-view-index) .anketa-card{
    position: relative;
    min-height: 460px;
    height: auto;
    overflow: hidden;
    border-radius: var(--wm-radius);
    background: var(--wm-card);
    border: 1px solid var(--wm-border);
    transition: 0.22s ease;
}

body.wm-site:where(.wm-view-index) .anketa-card:hover{
    border-color: rgba(196,69,92,0.38);
}

body.wm-site:where(.wm-view-index) .anketa-card::before{
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            180deg,
            rgba(18,17,16,0.78) 0%,
            rgba(18,17,16,0.24) 36%,
            rgba(18,17,16,0.68) 68%,
            rgba(18,17,16,0.94) 100%
        );
    z-index: 1;
}

body.wm-site:where(.wm-view-index) .anketa-photo{
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #232220, #3a2b2f);
}

body.wm-site:where(.wm-view-index) .anketa-photo img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: 0.45s ease;
}

body.wm-site:where(.wm-view-index) .anketa-card.no-photo .anketa-photo::before{
    content: 'Нет фото';
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.58);
    font-size: 14px;
    font-weight: 700;
}

body.wm-site:where(.wm-view-index) .anketa-card-content{
    position: relative;
    z-index: 2;
    min-height: 460px;
    display: flex;
    flex-direction: column;
    padding: 18px;
    color: white;
}

body.wm-site:where(.wm-view-index) .anketa-card-header{
    display: flex;
    align-items: center;
    gap: 11px;
    margin-bottom: 12px;
}

body.wm-site:where(.wm-view-index) .anketa-author-avatar{
    width: 42px;
    height: 42px;
    border-radius: 50px;
    overflow: hidden;
    flex-shrink: 0;
    border: 1px solid rgba(255,255,255,0.32);
    background: var(--wm-card-3);
}

body.wm-site:where(.wm-view-index) .anketa-author-avatar img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

body.wm-site:where(.wm-view-index) .anketa-author-info{
    min-width: 0;
}

body.wm-site:where(.wm-view-index) .anketa-author-nick{
    color: rgba(255,255,255,0.72);
    font-size: 12px;
    margin-bottom: 2px;
}

body.wm-site:where(.wm-view-index) .anketa-author-name{
    color: white;
    font-size: 14px;
    font-weight: 800;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

body.wm-site:where(.wm-view-index) .anketa-badges{
    position: absolute;
    top: 18px;
    right: 18px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    z-index: 3;
}

body.wm-site:where(.wm-view-index) .anketa-badge{
    display: flex;
    align-items: center;
    justify-content: center;
}

body.wm-site:where(.wm-view-index) .anketa-badge img{
    width: 44px;
    height: 44px;
    object-fit: contain;
}

body.wm-site:where(.wm-view-index) .anketa-main-content{
    margin-top: auto;
    padding-top: 16px;
    border-top: 1px solid rgba(255,255,255,0.18);
}

body.wm-site:where(.wm-view-index) .anketa-card-title{
    display: block;
    margin-bottom: 12px;
    color: white;
    text-decoration: none;
    font-size: 21px;
    line-height: 1.18;
    font-weight: 900;
    letter-spacing: -0.02em;
}

body.wm-site:where(.wm-view-index) .anketa-card-title:hover{
    color: var(--wm-accent-hover);
}

body.wm-site:where(.wm-view-index) .anketa-meta-info{
    display: flex;
    flex-direction: column;
    gap: 7px;
    margin-bottom: 14px;
}

body.wm-site:where(.wm-view-index) .anketa-meta-line{
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 7px;
    color: rgba(255,255,255,0.84);
    font-size: 13px;
}

body.wm-site:where(.wm-view-index) .anketa-meta-label{
    color: rgba(255,255,255,0.54);
    font-weight: 700;
}

body.wm-site:where(.wm-view-index) .anketa-meta-value{
    color: white;
    font-weight: 800;
}

body.wm-site:where(.wm-view-index) .anketa-meta-sep{
    color: rgba(255,255,255,0.35);
}

body.wm-site:where(.wm-view-index) .anketa-card-actions{
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid rgba(255,255,255,0.14);
}

body.wm-site:where(.wm-view-index) .anketa-edit-button,
body.wm-site:where(.wm-view-index) .anketa-top-button,
body.wm-site:where(.wm-view-index) .anketa-delete-button{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 10px 14px;
    color: white !important;
    font-size: 13px;
    text-align: center;
}

body.wm-site:where(.wm-view-index) .anketa-edit-button{
    background: rgba(196,69,92,0.92);
}

body.wm-site:where(.wm-view-index) .anketa-edit-button:hover{
    background: var(--wm-accent-hover);
    color: white !important;
}

body.wm-site:where(.wm-view-index) .anketa-delete-button{
    width: 100%;
    background: rgba(251, 113, 133, 0.10);
    border: 1px solid rgba(251, 113, 133, 0.34);
    color: #fb7185 !important;
}

body.wm-site:where(.wm-view-index) .anketa-delete-button:hover{
    background: rgba(251, 113, 133, 0.18);
    border-color: rgba(251, 113, 133, 0.58);
    color: #fecdd3 !important;
}

body.wm-site:where(.wm-view-index) .anketa-top-button{
    background: rgba(255,255,255,0.09);
    border: 1px solid rgba(255,255,255,0.18);
}

body.wm-site:where(.wm-view-index) .anketa-top-button:hover{
    background: rgba(196,69,92,0.2);
    border-color: rgba(196,69,92,0.45);
}

body.wm-site:where(.wm-view-index) .anketa-top-button.is-disabled{
    background: rgba(255,255,255,0.08);
    color: rgba(255,255,255,0.58) !important;
}

/* ============================================================
   ПОПАП УДАЛЕНИЯ АНКЕТЫ
============================================================ */

body.wm-site:where(.wm-view-index) .wm-delete-anketa-overlay{
    position: fixed;
    inset: 0;
    z-index: 10040;
    background: rgba(0, 0, 0, 0.72);
    opacity: 0;
    visibility: hidden;
    transition: 0.2s ease;
}

body.wm-site:where(.wm-view-index) .wm-delete-anketa-overlay.is-active{
    opacity: 1;
    visibility: visible;
}

body.wm-site:where(.wm-view-index) .wm-delete-anketa-modal{
    position: fixed;
    left: 50%;
    top: 50%;
    z-index: 10041;
    width: min(92%, 460px);
    padding: 28px;
    background: #232220;
    border: 1px solid rgba(251, 113, 133, 0.34);
    border-radius: var(--wm-radius);
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.48);
    opacity: 0;
    visibility: hidden;
    transform: translate(-50%, -50%);
    transition: opacity 0.2s ease, visibility 0.2s ease;
}

body.wm-site:where(.wm-view-index) .wm-delete-anketa-modal.is-active{
    opacity: 1;
    visibility: visible;
}

body.wm-site:where(.wm-view-index) .wm-delete-anketa-modal__close{
    position: absolute;
    right: 12px;
    top: 10px;
    width: 36px;
    height: 36px;
    padding: 0;
    border: 0;
    background: transparent;
    color: rgba(255, 255, 255, 0.62);
    font-size: 28px;
    line-height: 1;
}

body.wm-site:where(.wm-view-index) .wm-delete-anketa-modal__close:hover{
    color: #ffffff;
}

body.wm-site:where(.wm-view-index) .wm-delete-anketa-modal__icon{
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    margin-bottom: 18px;
    border-radius: 50%;
    background: rgba(251, 113, 133, 0.13);
    border: 1px solid rgba(251, 113, 133, 0.34);
    color: #fb7185;
    font-size: 24px;
    font-weight: 900;
}

body.wm-site:where(.wm-view-index) .wm-delete-anketa-modal__title{
    margin: 0 42px 10px 0;
    color: #ffffff;
    font-size: 24px;
    line-height: 1.25;
}

body.wm-site:where(.wm-view-index) .wm-delete-anketa-modal__text{
    color: rgba(255, 255, 255, 0.82);
    font-size: 15px;
    line-height: 1.55;
}

body.wm-site:where(.wm-view-index) .wm-delete-anketa-modal__text strong{
    color: #ffffff;
}

body.wm-site:where(.wm-view-index) .wm-delete-anketa-modal__warning{
    margin-top: 14px;
    padding: 12px 14px;
    background: rgba(251, 113, 133, 0.08);
    border: 1px solid rgba(251, 113, 133, 0.20);
    border-radius: var(--wm-radius);
    color: #fecdd3;
    font-size: 13px;
    line-height: 1.5;
}

body.wm-site:where(.wm-view-index) .wm-delete-anketa-modal__status{
    display: none;
    margin-top: 14px;
    padding: 10px 12px;
    border-radius: var(--wm-radius);
    font-size: 13px;
    line-height: 1.45;
}

body.wm-site:where(.wm-view-index) .wm-delete-anketa-modal__status.is-error{
    display: block;
    background: rgba(251, 113, 133, 0.10);
    border: 1px solid rgba(251, 113, 133, 0.22);
    color: #fecdd3;
}

body.wm-site:where(.wm-view-index) .wm-delete-anketa-modal__status.is-success{
    display: block;
    background: rgba(76, 175, 80, 0.10);
    border: 1px solid rgba(76, 175, 80, 0.24);
    color: #86efac;
}

body.wm-site:where(.wm-view-index) .wm-delete-anketa-modal__actions{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 20px;
}

body.wm-site:where(.wm-view-index) .wm-delete-anketa-cancel,
body.wm-site:where(.wm-view-index) .wm-delete-anketa-confirm{
    min-height: 44px;
    padding: 11px 14px;
    border-radius: var(--wm-radius);
    font-size: 13px;
    font-weight: 800;
}

body.wm-site:where(.wm-view-index) .wm-delete-anketa-cancel{
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
    color: #ffffff;
}

body.wm-site:where(.wm-view-index) .wm-delete-anketa-cancel:hover{
    background: rgba(255, 255, 255, 0.13);
}

body.wm-site:where(.wm-view-index) .wm-delete-anketa-confirm{
    background: linear-gradient(135deg, var(--wm-accent), var(--wm-accent-dark));
    border: 1px solid linear-gradient(135deg, var(--wm-accent), var(--wm-accent-dark));
    color: #ffffff;
}

body.wm-site:where(.wm-view-index) .wm-delete-anketa-confirm:hover{
    background: linear-gradient(135deg, var(--wm-accent), var(--wm-accent-dark));
    border-color: linear-gradient(135deg, var(--wm-accent), var(--wm-accent-dark));
}

body.wm-site:where(.wm-view-index) .wm-delete-anketa-confirm:disabled,
body.wm-site:where(.wm-view-index) .wm-delete-anketa-cancel:disabled,
body.wm-site:where(.wm-view-index) .wm-delete-anketa-modal__close:disabled{
    opacity: 0.55;
    cursor: not-allowed;
}

@media (max-width: 520px) {
    body.wm-site:where(.wm-view-index) .wm-delete-anketa-modal{
        padding: 24px 18px 18px;
    }

    body.wm-site:where(.wm-view-index) .wm-delete-anketa-modal__title{
        font-size: 21px;
    }

    body.wm-site:where(.wm-view-index) .wm-delete-anketa-modal__actions{
        grid-template-columns: 1fr;
    }
}

/* ============================================================
   СТАТУСЫ АНКЕТ
============================================================ */

body.wm-site:where(.wm-view-index) .account-anketa-status-mini{
    position: relative;
    display: inline-flex;
    align-items: center;
    width: fit-content;
    margin: 6px 0 12px;
    z-index: 20;
}

body.wm-site:where(.wm-view-index) .account-anketa-status-mini__btn{
    border: 0;
    outline: none;
    padding: 7px 11px;
    border-radius: var(--wm-radius);
    font-size: 11px;
    line-height: 1;
    font-weight: 900;
    cursor: default;
    color: white;
    background: rgba(255,255,255,0.14);
}

body.wm-site:where(.wm-view-index) .account-anketa-status-mini--approved .account-anketa-status-mini__btn{
    background: rgba(76,175,80,0.18);
    color: #86efac;
}

body.wm-site:where(.wm-view-index) .account-anketa-status-mini--pending .account-anketa-status-mini__btn{
    background: rgba(246,178,60,0.18);
    color: #fbbf24;
}

body.wm-site:where(.wm-view-index) .account-anketa-status-mini--rejected .account-anketa-status-mini__btn{
    background: rgba(251,113,133,0.18);
    color: #fb7185;
    cursor: pointer;
}

body.wm-site:where(.wm-view-index) .account-anketa-status-mini--draft .account-anketa-status-mini__btn{
    background: rgba(148,163,184,0.17);
    color: #cbd5e1;
}

body.wm-site:where(.wm-view-index) .account-anketa-tooltip{
    position: absolute;
    left: 0;
    top: calc(100% + 10px);
    width: 292px;
    padding: 14px;
    border-radius: var(--wm-radius);
    background: #171615;
    border: 1px solid rgba(251,113,133,0.34);
    color: white;
    opacity: 0;
    visibility: hidden;
    transition: 0.18s ease;
    pointer-events: none;
    z-index: 999;
}

body.wm-site:where(.wm-view-index) .account-anketa-tooltip::before{
    display: none;
}

body.wm-site:where(.wm-view-index) .account-anketa-status-mini--rejected:hover .account-anketa-tooltip,
body.wm-site:where(.wm-view-index) .account-anketa-status-mini.is-open .account-anketa-tooltip{
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

body.wm-site:where(.wm-view-index) .account-anketa-tooltip__title{
    margin-bottom: 6px;
    color: #fb7185;
    font-size: 14px;
    font-weight: 900;
}

body.wm-site:where(.wm-view-index) .account-anketa-tooltip__text{
    color: rgba(255,255,255,0.78);
    font-size: 12px;
    line-height: 1.5;
}

body.wm-site:where(.wm-view-index) .account-anketa-tooltip__reason{
    margin-top: 10px;
    padding: 10px;
    border-radius: var(--wm-radius);
    background: rgba(251,113,133,0.09);
    border: 1px solid rgba(251,113,133,0.18);
    font-size: 12px;
    line-height: 1.45;
}

body.wm-site:where(.wm-view-index) .account-anketa-tooltip__reason strong{
    display: block;
    color: white;
    margin-bottom: 4px;
}

body.wm-site:where(.wm-view-index) .account-anketa-tooltip__reason span{
    color: rgba(255,255,255,0.8);
}

body.wm-site:where(.wm-view-index) .account-anketa-tooltip__actions{
    display: flex;
    gap: 8px;
    margin-top: 12px;
}

body.wm-site:where(.wm-view-index) .account-anketa-tooltip__btn{
    flex: 1;
    min-height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 10px;
    background: var(--wm-accent);
    color: white !important;
    font-size: 11px;
    text-decoration: none;
}

body.wm-site:where(.wm-view-index) .account-anketa-tooltip__btn:hover{
    background: var(--wm-accent-hover);
}

body.wm-site:where(.wm-view-index) .account-anketa-tooltip__btn--dark{
    background: rgba(255,255,255,0.09);
}

body.wm-site:where(.wm-view-index) .account-anketa-tooltip__btn--dark:hover{
    background: rgba(255,255,255,0.15);
}

/* ============================================================
   ПЕРЕКЛЮЧАТЕЛЬ АНКЕТЫ
============================================================ */

body.wm-site:where(.wm-view-index) .anketa-toggle-wrapper{
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 2px;
    padding-top: 10px;
}

body.wm-site:where(.wm-view-index) .anketa-toggle-label{
    position: relative;
    display: inline-block;
    width: 52px;
    height: 28px;
    flex-shrink: 0;
}

body.wm-site:where(.wm-view-index) .anketa-toggle-switch{
    opacity: 0;
    width: 0;
    height: 0;
}

body.wm-site:where(.wm-view-index) .anketa-toggle-slider{
    position: absolute;
    cursor: pointer;
    inset: 0;
    background: rgba(255,255,255,0.22);
    border-radius: var(--wm-radius);
    transition: 0.22s ease;
}

body.wm-site:where(.wm-view-index) .anketa-toggle-slider::before{
    content: '';
    position: absolute;
    width: 22px;
    height: 22px;
    left: 3px;
    top: 3px;
    background: white;
    border-radius: var(--wm-radius);
    transition: 0.22s ease;
}

body.wm-site:where(.wm-view-index) .anketa-toggle-switch:checked + .anketa-toggle-slider{
    background: var(--wm-accent);
}

body.wm-site:where(.wm-view-index) .anketa-toggle-switch:checked + .anketa-toggle-slider::before{
    left: 27px;
}

body.wm-site:where(.wm-view-index) .anketa-toggle-switch:disabled + .anketa-toggle-slider{
    opacity: 0.55;
    cursor: not-allowed;
}

body.wm-site:where(.wm-view-index) .anketa-status-text{
    color: rgba(255,255,255,0.72);
    font-size: 12px;
    font-weight: 700;
}

body.wm-site:where(.wm-view-index) .anketa-toggle-message{
    position: absolute;
    left: 50%;
    bottom: 12px;
    margin-left: -80px;
    width: 160px;
    padding: 9px 12px;
    border-radius: var(--wm-radius);
    background: rgba(76,175,80,0.95);
    color: white;
    font-size: 12px;
    font-weight: 800;
    text-align: center;
    z-index: 10;
}

/* ============================================================
   ТОП АНКЕТ
============================================================ */

body.wm-site:where(.wm-view-index) .wm-top-head{
    padding: 16px;
    background: rgba(255,255,255,0.045);
    border: 1px solid var(--wm-border);
    border-radius: var(--wm-radius);
    margin-bottom: 16px;
}

body.wm-site:where(.wm-view-index) .wm-top-head__row{
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

body.wm-site:where(.wm-view-index) .wm-top-head__item{
    padding: 8px 10px;
    border-radius: var(--wm-radius);
    background: rgba(255,255,255,0.055);
    color: rgba(255,255,255,0.82);
    font-size: 13px;
    font-weight: 700;
}

body.wm-site:where(.wm-view-index) .wm-top-full{
    margin-top: 12px;
    color: rgba(255,255,255,0.82);
    font-size: 14px;
}

body.wm-site:where(.wm-view-index) .wm-top-loading,
body.wm-site:where(.wm-view-index) .wm-top-empty{
    padding: 16px;
    background: rgba(255,255,255,0.045);
    border: 1px solid var(--wm-border);
    border-radius: var(--wm-radius);
    color: rgba(255,255,255,0.78);
}

body.wm-site:where(.wm-view-index) .wm-top-grid{
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

body.wm-site:where(.wm-view-index) .wm-top-card{
    overflow: hidden;
    background: var(--wm-card);
    border: 1px solid var(--wm-border);
    border-radius: var(--wm-radius);
}

body.wm-site:where(.wm-view-index) .wm-top-thumb img{
    width: 100%;
    height: 230px;
    object-fit: cover;
    display: block;
}

body.wm-site:where(.wm-view-index) .wm-top-thumb--empty{
    height: 230px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.05);
    color: var(--wm-muted);
}

body.wm-site:where(.wm-view-index) .wm-top-info{
    padding: 14px;
}

body.wm-site:where(.wm-view-index) .wm-top-title{
    display: block;
    margin-bottom: 8px;
    color: white;
    text-decoration: none;
    font-size: 16px;
    font-weight: 900;
}

body.wm-site:where(.wm-view-index) .wm-top-title:hover{
    color: var(--wm-accent-hover);
}

body.wm-site:where(.wm-view-index) .wm-top-meta{
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 10px;
    color: var(--wm-muted);
    font-size: 12px;
}

body.wm-site:where(.wm-view-index) .wm-top-timer-wrap{
    margin-bottom: 10px;
    padding: 10px;
    background: rgba(196,69,92,0.16);
    border: 1px solid rgba(196,69,92,0.26);
    border-radius: var(--wm-radius);
    color: white;
    font-size: 13px;
    font-weight: 800;
}

body.wm-site:where(.wm-view-index) .wm-top-extend-btn{
    width: 100%;
    min-height: 40px;
    padding: 10px 12px;
    background: rgba(196,69,92,0.9);
    color: white;
}

body.wm-site:where(.wm-view-index) .wm-top-extend-btn:hover{
    background: var(--wm-accent-hover);
}

/* ============================================================
   МОДАЛКА ТОП
============================================================ */

body.wm-site:where(.wm-view-index) .wm-top-modal__body{
    padding: 18px 20px;
    color: rgba(255,255,255,0.82);
    line-height: 1.55;
}

body.wm-site:where(.wm-view-index) .wm-top-modal__status{
    min-height: 18px;
    margin-top: 12px;
    font-weight: 800;
}

body.wm-site:where(.wm-view-index) .wm-top-modal__status.success{
    color: var(--wm-green);
}

body.wm-site:where(.wm-view-index) .wm-top-modal__status.error{
    color: var(--wm-red);
}

body.wm-site:where(.wm-view-index) .wm-top-modal__footer{
    display: flex;
    gap: 10px;
    padding: 16px 20px;
    background: #1d1c1a;
    border-top: 1px solid var(--wm-border);
}

body.wm-site:where(.wm-view-index) .wm-top-modal__btn{
    min-height: 42px;
    padding: 11px 14px;
    background: rgba(255,255,255,0.08);
    color: white;
    font-size: 14px;
}

body.wm-site:where(.wm-view-index) .wm-top-modal__btn:hover{
    background: rgba(255,255,255,0.14);
}

body.wm-site:where(.wm-view-index) .wm-top-confirm{
    background: linear-gradient(135deg, var(--wm-accent), var(--wm-accent-dark));
}

body.wm-site:where(.wm-view-index) .wm-top-confirm:hover{
    background: linear-gradient(135deg, var(--wm-accent-hover), var(--wm-accent));
}

/* ============================================================
   ГОСТЬ
============================================================ */

body.wm-site:where(.wm-view-index) .account-panel--guest{
    max-width: 460px;
    display: block;
    text-align: center;
    margin: 70px auto;
    padding: 42px 24px;
    background:
        radial-gradient(circle at top, rgba(196,69,92,0.16), transparent 260px),
        var(--wm-card);
    border: 1px solid var(--wm-border);
    border-radius: var(--wm-radius);
}

body.wm-site:where(.wm-view-index) .account-guest-title{
    margin-bottom: 12px;
    color: white;
    font-size: 28px;
    font-weight: 900;
    letter-spacing: -0.03em;
}

body.wm-site:where(.wm-view-index) .account-guest-text{
    max-width: 340px;
    margin: 0 auto 24px;
    color: var(--wm-muted);
    font-size: 15px;
    line-height: 1.55;
}

/* ============================================================
   ОБЩИЙ КОНТЕНТ
============================================================ */

body.wm-site:where(.wm-view-index) .main-content{
    max-width: 1220px;
    margin: 20px auto;
    padding: 0 20px;
    color: white;
}

body.wm-site:where(.wm-view-index) .main-content h1,
body.wm-site:where(.wm-view-index) .main-content h2,
body.wm-site:where(.wm-view-index) .main-content h3{
    color: white;
}

body.wm-site:where(.wm-view-index) .main-content a{
    color: var(--wm-accent);
}

body.wm-site:where(.wm-view-index) hr{
    border: 0;
    border-top: 1px solid var(--wm-border);
    margin: 30px 0;
}


/* ============================================================
   КРАСИВЫЙ БЛОК ТАРИФОВ ТОПА
============================================================ */

body.wm-site:where(.wm-view-index) .wm-top-tariff-box{
    display: grid;
    grid-template-columns: minmax(0, 1fr) 280px;
    gap: 14px;
    margin: 0 0 18px;
    padding: 16px;
    border-radius: var(--wm-radius);
    background:
        radial-gradient(circle at top left, rgba(196,69,92,0.22), transparent 230px),
        rgba(255,255,255,0.045);
    border: 1px solid var(--wm-border);
}

body.wm-site:where(.wm-view-index) .wm-top-tariff-box__main{
    min-width: 0;
}

body.wm-site:where(.wm-view-index) .wm-top-tariff-box__label{
    margin-bottom: 8px;
    color: var(--wm-muted);
    font-size: 13px;
    font-weight: 800;
}

body.wm-site:where(.wm-view-index) .wm-top-tariff-box__price{
    display: flex;
    align-items: flex-end;
    gap: 8px;
    color: #ffffff;
    font-size: 38px;
    line-height: 1;
    font-weight: 950;
    letter-spacing: -0.04em;
}

body.wm-site:where(.wm-view-index) .wm-top-tariff-box__price span{
    margin-bottom: 4px;
    color: var(--wm-muted);
    font-size: 14px;
    line-height: 1;
    font-weight: 800;
    letter-spacing: 0;
}

body.wm-site:where(.wm-view-index) .wm-top-tariff-box__status{
    margin-top: 10px;
    color: rgba(255,255,255,0.78);
    font-size: 13px;
    line-height: 1.45;
    font-weight: 700;
}

body.wm-site:where(.wm-view-index) .wm-top-tariff-box__schedule{
    display: grid;
    gap: 8px;
}

body.wm-site:where(.wm-view-index) .wm-top-tariff-box__schedule-item{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 11px 12px;
    border-radius: var(--wm-radius);
    background: rgba(255,255,255,0.055);
    border: 1px solid rgba(255,255,255,0.09);
}

body.wm-site:where(.wm-view-index) .wm-top-tariff-box__schedule-item span{
    color: var(--wm-muted);
    font-size: 13px;
    font-weight: 800;
}

body.wm-site:where(.wm-view-index) .wm-top-tariff-box__schedule-item strong{
    color: #ffffff;
    font-size: 17px;
    font-weight: 950;
}

body.wm-site:where(.wm-view-index) .wm-top-tariff-box__schedule-item.is-active{
    background: rgba(196,69,92,0.17);
    border-color: rgba(196,69,92,0.5);
}

body.wm-site:where(.wm-view-index) .wm-top-tariff-box__schedule-item.is-active span,
body.wm-site:where(.wm-view-index) .wm-top-tariff-box__schedule-item.is-active strong{
    color: #ffffff;
}

body.wm-site:where(.wm-view-index) .wm-top-price-info{
    margin-top: 10px;
    padding: 12px 14px;
    border-radius: var(--wm-radius);
    background: rgba(196,69,92,0.11);
    border: 1px solid rgba(196,69,92,0.24);
}

body.wm-site:where(.wm-view-index) .wm-top-price-info__current{
    margin-bottom: 5px;
    color: #ffffff;
    font-size: 14px;
    font-weight: 900;
}

body.wm-site:where(.wm-view-index) .wm-top-price-info__schedule{
    color: rgba(255,255,255,0.72);
    font-size: 13px;
    line-height: 1.45;
}

body.wm-site:where(.wm-view-index) .wm-top-price-info__schedule strong{
    color: #ffffff;
}


/* ============================================================
   ПОПАП БОНУСА НОВОМУ ПОЛЬЗОВАТЕЛЮ
============================================================ */

body.wm-site:where(.wm-view-index) .wm-welcome-bonus-overlay{
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.78);
    opacity: 0;
    visibility: hidden;
    transition: 0.22s ease;
    z-index: 10000;
}

body.wm-site:where(.wm-view-index) .wm-welcome-bonus-overlay.is-active{
    opacity: 1;
    visibility: visible;
}

body.wm-site:where(.wm-view-index) .wm-welcome-bonus-popup{
    position: fixed;
    top: 50%;
    left: 50%;
    width: calc(100% - 32px);
    max-width: 430px;
    padding: 34px 28px 28px;
    background:
        radial-gradient(circle at top left, rgba(196, 69, 92, 0.32), transparent 240px),
        #232220;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 7px;
    opacity: 0;
    visibility: hidden;
    z-index: 10001;
    text-align: center;
    margin-left: -215px;
    margin-top: -190px;
}

body.wm-site:where(.wm-view-index) .wm-welcome-bonus-popup.is-active{
    opacity: 1;
    visibility: visible;
}

body.wm-site:where(.wm-view-index) .wm-welcome-bonus-popup__icon{
    width: 72px;
    height: 72px;
    margin: 0 auto 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--wm-accent), var(--wm-accent-dark));
    border-radius: 50%;
    color: #ffffff;
    font-size: 34px;
    line-height: 1;
    font-weight: 900;
}

body.wm-site:where(.wm-view-index) .wm-welcome-bonus-popup__title{
    margin-bottom: 10px;
    color: #ffffff;
    font-size: 25px;
    line-height: 1.15;
    font-weight: 900;
    letter-spacing: -0.03em;
}

body.wm-site:where(.wm-view-index) .wm-welcome-bonus-popup__text{
    margin-bottom: 8px;
    color: rgba(255, 255, 255, 0.68);
    font-size: 15px;
    line-height: 1.45;
    font-weight: 600;
}

body.wm-site:where(.wm-view-index) .wm-welcome-bonus-popup__amount{
    margin-bottom: 24px;
    color: #ffffff;
    font-size: 44px;
    line-height: 1;
    font-weight: 900;
    letter-spacing: -0.04em;
}

body.wm-site:where(.wm-view-index) .wm-welcome-bonus-popup__btn{
    width: 100%;
    min-height: 48px;
    padding: 14px 18px;
    border: 0;
    border-radius: 7px;
    background: linear-gradient(135deg, var(--wm-accent), var(--wm-accent-dark));
    color: #ffffff;
    font-size: 15px;
    line-height: 1;
    font-weight: 900;
    cursor: pointer;
    transition: 0.18s ease;
}

body.wm-site:where(.wm-view-index) .wm-welcome-bonus-popup__btn:hover{
    background: linear-gradient(135deg, var(--wm-accent-hover), var(--wm-accent));
}

@media (max-width: 520px) {
    body.wm-site:where(.wm-view-index) .wm-welcome-bonus-popup{
        left: 16px;
        right: 16px;
        width: auto;
        max-width: none;
        margin-left: 0;
        padding: 30px 22px 24px;
    }

    body.wm-site:where(.wm-view-index) .wm-welcome-bonus-popup__amount{
        font-size: 38px;
    }
}


/* ============================================================
   АДАПТИВ
============================================================ */

@media (max-width: 1100px) {
    body.wm-site:where(.wm-view-index) .account-panel{
        grid-template-columns: 250px minmax(0, 1fr);
    }

    body.wm-site:where(.wm-view-index) .ankety-list,
body.wm-site:where(.wm-view-index) .wm-top-grid{
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 860px) {
    body.wm-site:where(.wm-view-index) .account-panel{
        grid-template-columns: 1fr;
        gap: 18px;
        margin-top: 20px;
    }

    body.wm-site:where(.wm-view-index) .account-left{
        position: relative;
        top: auto;
    }

    body.wm-site:where(.wm-view-index) .account-right{
        padding: 20px;
    }

    body.wm-site:where(.wm-view-index) .account-title{
        font-size: 24px;
    }

    body.wm-site:where(.wm-view-index) .account-header-buttons{
        align-items: stretch;
    }

    body.wm-site:where(.wm-view-index) .account-guest-button,
body.wm-site:where(.wm-view-index) .account-instruction-dropdown,
body.wm-site:where(.wm-view-index) .account-instruction-button{
        width: 100%;
    }

    body.wm-site:where(.wm-view-index) .account-instruction-button{
        justify-content: center;
    }

    body.wm-site:where(.wm-view-index) .instruction-dropdown-menu{
        position: static;
        width: 100%;
        margin-top: 8px;
        opacity: 1;
        visibility: visible;
        display: none;
    }

    body.wm-site:where(.wm-view-index) .account-instruction-dropdown:hover .instruction-dropdown-menu{
        display: block;
    }

    body.wm-site:where(.wm-view-index) .account-section-row{
        grid-template-columns: 1fr;
        gap: 7px;
    }

    body.wm-site:where(.wm-view-index) .account-input{
        max-width: 100%;
    }

    body.wm-site:where(.wm-view-index) .payment-methods-list{
        grid-template-columns: 1fr;
    }

    body.wm-site:where(.wm-view-index) .ankety-list,
body.wm-site:where(.wm-view-index) .wm-top-grid{
        grid-template-columns: 1fr;
    }

    body.wm-site:where(.wm-view-index) .wm-top-modal__footer,
body.wm-site:where(.wm-view-index) .account-settings-footer{
        flex-direction: column;
        align-items: stretch;
    }

    body.wm-site:where(.wm-view-index) .instruction-popup,
body.wm-site:where(.wm-view-index) .wm-top-modal{
        left: 4%;
        top: 8%;
        width: 92%;
        max-width: none;
        max-height: 84vh;
        margin-left: 0;
        margin-top: 0;
    }
}

@media (max-width: 860px) {
    body.wm-site:where(.wm-view-index) .account-balance-top{
        grid-template-columns: 1fr;
    }

    body.wm-site:where(.wm-view-index) .account-balance-amount{
        width: 100%;
    }

    body.wm-site:where(.wm-view-index) .account-balance-support__btn{
        width: 100%;
    }
}

@media (max-width: 760px) {
    body.wm-site:where(.wm-view-index) .wm-top-tariff-box{
        grid-template-columns: 1fr;
    }

    body.wm-site:where(.wm-view-index) .wm-top-tariff-box__price{
        font-size: 34px;
    }
}

@media (max-width: 520px) {
    body.wm-site:where(.wm-view-index) .account-panel,
body.wm-site:where(.wm-view-index) .ankety-wrapper_index{
        padding: 0 14px;
    }

    body.wm-site:where(.wm-view-index) .account-tabs{
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        overflow: visible;
    }

    body.wm-site:where(.wm-view-index) .account-tab{
        min-width: 0;
        font-size: 13px;
        padding: 10px 8px;
    }

    body.wm-site:where(.wm-view-index) .account-section{
        padding: 16px;
    }

    body.wm-site:where(.wm-view-index) .account-balance-amount{
        width: 100%;
        justify-content: center;
        font-size: 34px;
    }

    body.wm-site:where(.wm-view-index) .anketa-card,
body.wm-site:where(.wm-view-index) .anketa-card-content{
        min-height: 440px;
    }

    body.wm-site:where(.wm-view-index) .anketa-badges{
        top: 14px;
        right: 14px;
        gap: 7px;
    }

    body.wm-site:where(.wm-view-index) .anketa-badge img{
        width: 40px;
        height: 40px;
    }

    body.wm-site:where(.wm-view-index) .account-anketa-tooltip{
        position: fixed;
        left: 14px;
        right: 14px;
        top: auto;
        bottom: 18px;
        width: auto;
        z-index: 10000;
    }

    body.wm-site:where(.wm-view-index) .account-anketa-tooltip__actions{
        flex-direction: column;
    }

    body.wm-site:where(.wm-view-index) .instruction-step{
        grid-template-columns: 1fr;
    }

    body.wm-site:where(.wm-view-index) .instruction-step-number{
        width: 30px;
        height: 30px;
    }
}
/* ========== КОНЕЦ: Шаблон: index ========== */



/* ========== НАЧАЛО: Шаблон: miracle_shorts ========== */
/* ============================================================
   MIRACLE SHORTS — TIKTOK STYLE
============================================================ */

body.wm-site:where(.wm-view-miracle_shorts){
    scroll-behavior: smooth;
}

body.wm-site:where(.wm-view-miracle_shorts){
    background: #0f0f0f;
}

body.wm-site:where(.wm-view-miracle_shorts) .miracle-shorts-page{
    position: relative;
    min-height: 100vh;
    background: #0f0f0f;
    color: #ffffff;
    overflow: hidden;
}

body.wm-site:where(.wm-view-miracle_shorts) .miracle-shorts-page::before{
    content: "";
    position: fixed;
    inset: 0;
    z-index: 0;
    background:
        radial-gradient(circle at top left, rgba(196, 69, 92, 0.14), transparent 360px),
        radial-gradient(circle at bottom right, rgba(196, 69, 92, 0.10), transparent 420px),
        #0f0f0f;
    pointer-events: none;
}

body.wm-site:where(.wm-view-miracle_shorts) .miracle-shorts-shell{
    position: relative;
    z-index: 2;
}

/* Верхняя панель */

body.wm-site:where(.wm-view-miracle_shorts) .shorts-topbar{
    position: fixed;
    top: 14px;
    left: 50%;
    z-index: 100;
    width: min(1350px, calc(100% - 28px));
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 12px 14px;
    border-radius: 999px;
    background:
        linear-gradient(180deg, rgba(255,255,255,0.055), rgba(255,255,255,0.015)),
        rgba(20, 20, 20, 0.74);
    border: 1px solid rgba(255, 255, 255, 0.10);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

body.wm-site:where(.wm-view-miracle_shorts) .shorts-topbar__left,
body.wm-site:where(.wm-view-miracle_shorts) .shorts-topbar__right{
    display: flex;
    align-items: center;
    gap: 10px;
}

body.wm-site:where(.wm-view-miracle_shorts) .shorts-back{
    width: 38px;
    height: 38px;
    flex: 0 0 auto;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: background 0.18s ease, border-color 0.18s ease;
}

body.wm-site:where(.wm-view-miracle_shorts) .shorts-back:hover{
    color: #ffffff;
    background: rgba(196, 69, 92, 0.18);
    border-color: rgba(196, 69, 92, 0.32);
}

body.wm-site:where(.wm-view-miracle_shorts) .shorts-back svg{
    width: 19px;
    height: 19px;
}

body.wm-site:where(.wm-view-miracle_shorts) .shorts-logo{
    display: flex;
    flex-direction: column;
    gap: 2px;
}

body.wm-site:where(.wm-view-miracle_shorts) .shorts-logo__title{
    color: #ffffff;
    font-size: 15px;
    line-height: 1.1;
    font-weight: 900;
    letter-spacing: -0.02em;
}

body.wm-site:where(.wm-view-miracle_shorts) .shorts-logo__sub{
    color: rgba(255, 255, 255, 0.52);
    font-size: 11px;
    line-height: 1;
    font-weight: 650;
}

body.wm-site:where(.wm-view-miracle_shorts) .shorts-count{
    min-height: 34px;
    padding: 8px 12px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.80);
    background: rgba(196, 69, 92, 0.12);
    border: 1px solid rgba(196, 69, 92, 0.28);
    font-size: 12px;
    line-height: 1;
    font-weight: 800;
    white-space: nowrap;
}

body.wm-site:where(.wm-view-miracle_shorts) .shorts-top-btn{
    width: 38px;
    height: 38px;
    flex: 0 0 auto;
    border: none;
    border-radius: 999px;
    color: #ffffff;
    background: var(--accent, #c4455c);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background 0.18s ease;
}

body.wm-site:where(.wm-view-miracle_shorts) .shorts-top-btn:hover{
    background: var(--accent-hover, #d75970);
}

body.wm-site:where(.wm-view-miracle_shorts) .shorts-top-btn svg{
    width: 19px;
    height: 19px;
}

/* Список видео */

body.wm-site:where(.wm-view-miracle_shorts) .shorts-feed{
    position: relative;
    z-index: 2;
    height: 100vh;
    overflow-y: auto;
    scroll-snap-type: y mandatory;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}

body.wm-site:where(.wm-view-miracle_shorts) .shorts-feed::-webkit-scrollbar{
    display: none;
}

body.wm-site:where(.wm-view-miracle_shorts) .shorts-item{
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 620px;
    display: flex;
    align-items: baseline;
    justify-content: center;
    scroll-snap-align: start;
    scroll-snap-stop: always;
    overflow: hidden;
    background: #050505;
}

body.wm-site:where(.wm-view-miracle_shorts) .shorts-bg{
    position: absolute;
    inset: 0;
    z-index: 1;
    background-size: cover;
    background-position: center;
    opacity: 0.35;
    filter: blur(22px);
}

body.wm-site:where(.wm-view-miracle_shorts) .shorts-bg::after{
    content: "";
    position: absolute;
    inset: -2px;
    background:
        linear-gradient(90deg, rgba(15,15,15,0.86), rgba(15,15,15,0.35), rgba(15,15,15,0.86)),
        linear-gradient(180deg, rgba(15,15,15,0.72), transparent 22%, transparent 58%, rgba(15,15,15,0.86));
}

body.wm-site:where(.wm-view-miracle_shorts) .shorts-video-frame{
    position: relative;
    z-index: 2;
    width: min(430px, calc(100vw - 34px));
    height: min(760px, calc(100vh - 34px));
    border-radius: 28px;
    overflow: hidden;
    background: #000000;
    border: 1px solid rgba(255, 255, 255, 0.11);
}

body.wm-site:where(.wm-view-miracle_shorts) .shorts-video{
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    background: #000000;
}

body.wm-site:where(.wm-view-miracle_shorts) .shorts-video-frame.is-contain .shorts-video{
    object-fit: contain;
}

/* Затемнения поверх видео */

body.wm-site:where(.wm-view-miracle_shorts) .shorts-video-shade{
    position: absolute;
    inset: 0;
    z-index: 3;
    background:
        linear-gradient(180deg, rgba(0,0,0,0.44), transparent 24%, transparent 56%, rgba(0,0,0,0.86)),
        linear-gradient(90deg, transparent 62%, rgba(0,0,0,0.20));
    pointer-events: none;
}

body.wm-site:where(.wm-view-miracle_shorts) .shorts-video-progress{
    position: absolute;
    left: 14px;
    right: 14px;
    top: 14px;
    z-index: 5;
    height: 3px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.20);
    overflow: hidden;
}

body.wm-site:where(.wm-view-miracle_shorts) .shorts-video-progress span{
    display: block;
    width: 0%;
    height: 100%;
    border-radius: inherit;
    background: var(--accent-hover, #d75970);
}

/* Информация снизу */

body.wm-site:where(.wm-view-miracle_shorts) .shorts-overlay{
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 6;
    padding: 22px 72px 22px 18px;
    pointer-events: none;
}

body.wm-site:where(.wm-view-miracle_shorts) .shorts-name-row{
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

body.wm-site:where(.wm-view-miracle_shorts) .shorts-name{
    color: #ffffff;
    font-size: 22px;
    line-height: 1.08;
    font-weight: 900;
    letter-spacing: -0.035em;
    text-decoration: none;
    pointer-events: auto;
}

body.wm-site:where(.wm-view-miracle_shorts) .shorts-name:hover{
    color: #ffffff;
}

body.wm-site:where(.wm-view-miracle_shorts) .verified-badge{
    width: 22px;
    height: 22px;
    flex: 0 0 auto;
    border-radius: 999px;
    color: #ffffff;
    background: var(--accent, #c4455c);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

body.wm-site:where(.wm-view-miracle_shorts) .verified-badge svg{
    width: 14px;
    height: 14px;
}

body.wm-site:where(.wm-view-miracle_shorts) .shorts-meta{
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 10px;
}

body.wm-site:where(.wm-view-miracle_shorts) .shorts-meta span{
    min-height: 26px;
    padding: 6px 9px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: rgba(255, 255, 255, 0.84);
    background: rgba(255, 255, 255, 0.10);
    border: 1px solid rgba(255, 255, 255, 0.10);
    font-size: 12px;
    line-height: 1;
    font-weight: 750;
}

body.wm-site:where(.wm-view-miracle_shorts) .shorts-meta svg{
    width: 13px;
    height: 13px;
    color: var(--accent-hover, #d75970);
}

body.wm-site:where(.wm-view-miracle_shorts) .shorts-desc{
    max-width: 300px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 13px;
    line-height: 1.45;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    pointer-events: auto;
}

/* Кнопки справа */

body.wm-site:where(.wm-view-miracle_shorts) .shorts-actions{
    position: absolute;
    right: 12px;
    bottom: 112px;
    z-index: 7;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

body.wm-site:where(.wm-view-miracle_shorts) .shorts-action-btn,
body.wm-site:where(.wm-view-miracle_shorts) .shorts-action-link{
    width: 48px;
    height: 48px;
    border: none;
    border-radius: 999px;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.13);
    border: 1px solid rgba(255, 255, 255, 0.10);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

body.wm-site:where(.wm-view-miracle_shorts) .shorts-action-btn:hover,
body.wm-site:where(.wm-view-miracle_shorts) .shorts-action-link:hover{
    background: rgba(196, 69, 92, 0.88);
    border-color: rgba(196, 69, 92, 0.88);
    color: #ffffff;
}

body.wm-site:where(.wm-view-miracle_shorts) .shorts-action-btn svg,
body.wm-site:where(.wm-view-miracle_shorts) .shorts-action-link svg{
    width: 21px;
    height: 21px;
}

body.wm-site:where(.wm-view-miracle_shorts) .shorts-action-label{
    display: none;
}

/* Подсказка свайпа */

body.wm-site:where(.wm-view-miracle_shorts) .shorts-swipe-hint{
    position: fixed;
    left: 50%;
    bottom: 22px;
    z-index: 80;
    padding: 9px 13px;
    border-radius: 999px;
    color: rgba(255, 255, 255, 0.76);
    background: rgba(20, 20, 20, 0.66);
    border: 1px solid rgba(255, 255, 255, 0.10);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    font-size: 12px;
    line-height: 1;
    font-weight: 750;
    pointer-events: none;
    opacity: 1;
    transition: opacity 0.25s ease;
}

body.wm-site:where(.wm-view-miracle_shorts) .shorts-swipe-hint.is-hidden{
    opacity: 0;
}

/* История */

body.wm-site:where(.wm-view-miracle_shorts) .shorts-history-toggle{
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 130;
    width: 48px;
    height: 48px;
    border: none;
    border-radius: 999px;
    color: #ffffff;
    background: var(--accent, #c4455c);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.18s ease;
}

body.wm-site:where(.wm-view-miracle_shorts) .shorts-history-toggle:hover{
    background: var(--accent-hover, #d75970);
}

body.wm-site:where(.wm-view-miracle_shorts) .shorts-history-toggle svg{
    width: 20px;
    height: 20px;
}

body.wm-site:where(.wm-view-miracle_shorts) .shorts-history{
    position: fixed;
    left: 50%;
    bottom: -190px;
    z-index: 120;
    width: min(1350px, calc(100% - 28px));
    padding: 14px;
    border-radius: 24px 24px 0 0;
    background:
        radial-gradient(circle at top left, rgba(196, 69, 92, 0.16), transparent 280px),
        linear-gradient(180deg, rgba(255,255,255,0.055), rgba(255,255,255,0.015)),
        rgba(20, 20, 20, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.11);
    border-bottom: none;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    opacity: 0;
    pointer-events: none;
    transition: bottom 0.25s ease, opacity 0.25s ease;
}

body.wm-site:where(.wm-view-miracle_shorts) .shorts-history.is-open{
    bottom: 0;
    opacity: 1;
    pointer-events: auto;
}

body.wm-site:where(.wm-view-miracle_shorts) .shorts-history__head{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 10px;
}

body.wm-site:where(.wm-view-miracle_shorts) .shorts-history__title{
    margin: 0;
    color: #ffffff;
    font-size: 14px;
    line-height: 1.2;
    font-weight: 850;
}

body.wm-site:where(.wm-view-miracle_shorts) .shorts-history__close{
    width: 32px;
    height: 32px;
    border: none;
    border-radius: 999px;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.08);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

body.wm-site:where(.wm-view-miracle_shorts) .shorts-history__close svg{
    width: 16px;
    height: 16px;
}

body.wm-site:where(.wm-view-miracle_shorts) .shorts-playlist{
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: thin;
    scrollbar-color: rgba(196, 69, 92, 0.6) rgba(255,255,255,0.08);
}

body.wm-site:where(.wm-view-miracle_shorts) .shorts-playlist-item{
    flex: 0 0 82px;
    border: none;
    padding: 0;
    background: transparent;
    color: #ffffff;
    cursor: pointer;
    text-align: left;
}

body.wm-site:where(.wm-view-miracle_shorts) .shorts-playlist-thumb{
    position: relative;
    width: 82px;
    aspect-ratio: 9 / 16;
    border-radius: 14px;
    overflow: hidden;
    background: #000000;
    border: 2px solid transparent;
}

body.wm-site:where(.wm-view-miracle_shorts) .shorts-playlist-item.is-active .shorts-playlist-thumb{
    border-color: var(--accent-hover, #d75970);
}

body.wm-site:where(.wm-view-miracle_shorts) .shorts-playlist-thumb img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    opacity: 0.86;
}

body.wm-site:where(.wm-view-miracle_shorts) .shorts-playlist-item.is-active img{
    opacity: 1;
}

body.wm-site:where(.wm-view-miracle_shorts) .shorts-playlist-play{
    position: absolute;
    inset: auto 6px 6px auto;
    width: 24px;
    height: 24px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(196, 69, 92, 0.90);
    color: #ffffff;
}

body.wm-site:where(.wm-view-miracle_shorts) .shorts-playlist-play svg{
    width: 12px;
    height: 12px;
}

body.wm-site:where(.wm-view-miracle_shorts) .shorts-playlist-name{
    display: block;
    margin-top: 6px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 11px;
    line-height: 1.2;
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

body.wm-site:where(.wm-view-miracle_shorts) .shorts-playlist-item.is-active .shorts-playlist-name{
    color: #ffffff;
}

/* Нет видео */

body.wm-site:where(.wm-view-miracle_shorts) .shorts-empty{
    position: relative;
    z-index: 2;
    min-height: calc(100vh - 120px);
    width: min(680px, calc(100% - 28px));
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

body.wm-site:where(.wm-view-miracle_shorts) .shorts-empty__box{
    padding: 34px 28px;
    border-radius: 24px;
    background:
        radial-gradient(circle at top right, rgba(196, 69, 92, 0.13), transparent 260px),
        rgba(35, 34, 32, 0.88);
    border: 1px solid rgba(255, 255, 255, 0.10);
}

body.wm-site:where(.wm-view-miracle_shorts) .shorts-empty__icon{
    width: 58px;
    height: 58px;
    margin: 0 auto 18px;
    border-radius: 18px;
    color: var(--accent-hover, #d75970);
    background: rgba(196, 69, 92, 0.14);
    border: 1px solid rgba(196, 69, 92, 0.32);
    display: flex;
    align-items: center;
    justify-content: center;
}

body.wm-site:where(.wm-view-miracle_shorts) .shorts-empty__icon svg{
    width: 30px;
    height: 30px;
}

body.wm-site:where(.wm-view-miracle_shorts) .shorts-empty__title{
    margin: 0;
    color: #ffffff;
    font-size: 26px;
    line-height: 1.15;
    font-weight: 900;
}

body.wm-site:where(.wm-view-miracle_shorts) .shorts-empty__text{
    margin: 12px auto 0;
    max-width: 420px;
    color: rgba(255, 255, 255, 0.66);
    font-size: 15px;
    line-height: 1.55;
}

/* Мобильная версия */

@media (max-width: 768px) {
    body.wm-site:where(.wm-view-miracle_shorts) .shorts-topbar{
        top: 10px;
        width: calc(100% - 20px);
        padding: 10px;
    }

    body.wm-site:where(.wm-view-miracle_shorts) .shorts-logo__title{
        font-size: 14px;
    }

    body.wm-site:where(.wm-view-miracle_shorts) .shorts-logo__sub{
        display: none;
    }

    body.wm-site:where(.wm-view-miracle_shorts) .shorts-count{
        display: none;
    }

    body.wm-site:where(.wm-view-miracle_shorts) .shorts-item{
        min-height: 100vh;
        height: 100svh;
    }

    body.wm-site:where(.wm-view-miracle_shorts) .shorts-video-frame{
        width: 100%;
        height: 100svh;
        border-radius: 0;
        border: none;
    }

    body.wm-site:where(.wm-view-miracle_shorts) .shorts-bg{
        display: none;
    }

    body.wm-site:where(.wm-view-miracle_shorts) .shorts-overlay{
        padding: 0 74px 26px 16px;
    }

    body.wm-site:where(.wm-view-miracle_shorts) .shorts-name{
        font-size: 21px;
    }

    body.wm-site:where(.wm-view-miracle_shorts) .shorts-desc{
        max-width: 100%;
        font-size: 13px;
    }

    body.wm-site:where(.wm-view-miracle_shorts) .shorts-actions{
        right: 12px;
        bottom: 110px;
        gap: 12px;
    }

    body.wm-site:where(.wm-view-miracle_shorts) .shorts-action-btn,
body.wm-site:where(.wm-view-miracle_shorts) .shorts-action-link{
        width: 46px;
        height: 46px;
    }

    body.wm-site:where(.wm-view-miracle_shorts) .shorts-history-toggle{
        right: 12px;
        bottom: 18px;
        width: 46px;
        height: 46px;
    }

    body.wm-site:where(.wm-view-miracle_shorts) .shorts-swipe-hint{
        bottom: 18px;
        font-size: 11px;
    }

    body.wm-site:where(.wm-view-miracle_shorts) .shorts-history{
        width: 100%;
        border-radius: 22px 22px 0 0;
        padding: 14px 12px;
    }

    body.wm-site:where(.wm-view-miracle_shorts) .shorts-playlist-item{
        flex-basis: 74px;
    }

    body.wm-site:where(.wm-view-miracle_shorts) .shorts-playlist-thumb{
        width: 74px;
    }
}

@media (max-width: 480px) {
    body.wm-site:where(.wm-view-miracle_shorts) .shorts-topbar{
        width: calc(100% - 16px);
        top: 8px;
    }

    body.wm-site:where(.wm-view-miracle_shorts) .shorts-back,
body.wm-site:where(.wm-view-miracle_shorts) .shorts-top-btn{
        width: 36px;
        height: 36px;
    }

    body.wm-site:where(.wm-view-miracle_shorts) .shorts-overlay{
        padding-left: 14px;
        padding-right: 68px;
        padding-bottom: 24px;
    }

    body.wm-site:where(.wm-view-miracle_shorts) .shorts-name{
        font-size: 20px;
    }

    body.wm-site:where(.wm-view-miracle_shorts) .shorts-meta{
        gap: 6px;
    }

    body.wm-site:where(.wm-view-miracle_shorts) .shorts-meta span{
        font-size: 11px;
        padding: 6px 8px;
    }

    body.wm-site:where(.wm-view-miracle_shorts) .shorts-actions{
        right: 10px;
    }

    body.wm-site:where(.wm-view-miracle_shorts) .shorts-action-btn,
body.wm-site:where(.wm-view-miracle_shorts) .shorts-action-link,
body.wm-site:where(.wm-view-miracle_shorts) .shorts-history-toggle{
        width: 44px;
        height: 44px;
    }

    body.wm-site:where(.wm-view-miracle_shorts) .shorts-playlist-item{
        flex-basis: 68px;
    }

    body.wm-site:where(.wm-view-miracle_shorts) .shorts-playlist-thumb{
        width: 68px;
        border-radius: 12px;
    }
}
/* ========== КОНЕЦ: Шаблон: miracle_shorts ========== */



/* ========== НАЧАЛО: Шаблон: page-add-anketa ========== */
/* ============================================================
   ДОБАВИТЬ / РЕДАКТИРОВАТЬ АНКЕТУ
   Единый строгий стиль
   Везде border-radius: 7px
   Без transform
============================================================ */

body.wm-site:where(.wm-view-page-add-anketa){
    --wm-bg: #171615;
    --wm-card: #232220;
    --wm-card-2: #2c2b28;
    --wm-card-3: #191817;
    --wm-border: rgba(255, 255, 255, 0.1);
    --wm-border-strong: rgba(255, 255, 255, 0.18);
    --wm-text: #ffffff;
    --wm-muted: rgba(255, 255, 255, 0.66);
    --wm-muted-2: rgba(255, 255, 255, 0.42);
    --wm-accent: #c4455c;
    --wm-accent-hover: #d15a71;
    --wm-accent-dark: #9f3246;
    --wm-green: #22c55e;
    --wm-yellow: #f6b23c;
    --wm-red: #ef4444;
    --wm-blue: #60a5fa;
    --wm-radius: 7px;
}

body.wm-site:where(.wm-view-page-add-anketa) main{
    background: transparent;
    min-height: calc(100vh - 200px);
}

body.wm-site:where(.wm-view-page-add-anketa) a{
    color: var(--wm-accent);
    transition: 0.2s ease;
}

body.wm-site:where(.wm-view-page-add-anketa) a:hover{
    color: var(--wm-accent-hover);
}

body.wm-site:where(.wm-view-page-add-anketa) button,
body.wm-site:where(.wm-view-page-add-anketa) input,
body.wm-site:where(.wm-view-page-add-anketa) textarea,
body.wm-site:where(.wm-view-page-add-anketa) select{
    font-family: inherit;
}

body.wm-site:where(.wm-view-page-add-anketa) button{
    cursor: pointer;
}

body.wm-site:where(.wm-view-page-add-anketa) button:disabled{
    opacity: 0.55;
    cursor: not-allowed;
}

body.wm-site:where(.wm-view-page-add-anketa) ul,
body.wm-site:where(.wm-view-page-add-anketa) ol{
    margin: 0;
    padding: 0;
    list-style: none;
}

/* ============================================================
   ОБЁРТКА СТРАНИЦЫ
============================================================ */

body.wm-site:where(.wm-view-page-add-anketa) .messenger-login-wrap{
    max-width: 1220px;
    margin: 0 auto;
    padding: 34px 20px 70px;
    min-height: calc(100vh - 80px);
}

body.wm-site:where(.wm-view-page-add-anketa) .messenger-login-wrap > h2{
    margin: 0 0 26px;
    padding: 0 0 18px;
    color: #ffffff;
    font-size: 32px;
    line-height: 1.15;
    font-weight: 900;
    letter-spacing: -0.03em;
    text-align: center;
    position: relative;
}

body.wm-site:where(.wm-view-page-add-anketa) .messenger-login-wrap > h2::after{
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 70px;
    height: 2px;
    margin-left: -35px;
    background: var(--wm-accent);
    border-radius: var(--wm-radius);
}

body.wm-site:where(.wm-view-page-add-anketa) .messenger-login-wrap p[style*="font-size:12px"]{
    max-width: 1200px;
    margin: 0 auto 14px !important;
    padding: 10px 12px;
    background: rgba(255,255,255,0.045);
    border: 1px solid var(--wm-border);
    border-radius: var(--wm-radius);
    color: var(--wm-muted) !important;
}

body.wm-site:where(.wm-view-page-add-anketa) .messenger-login-wrap p[style*="font-size:13px"]{
    max-width: 640px;
    margin: 0 auto 18px !important;
    padding: 14px 16px;
    background: rgba(255,255,255,0.045);
    border: 1px solid var(--wm-border);
    border-radius: var(--wm-radius);
    color: var(--wm-muted) !important;
    text-align: center;
}

/* ============================================================
   СООБЩЕНИЯ УСПЕХА / ОШИБОК
============================================================ */

body.wm-site:where(.wm-view-page-add-anketa) .wm-anketa-success-box{
    margin: 0 0 20px;
    padding: 16px 18px;
    background: rgba(34, 197, 94, 0.11);
    border: 1px solid rgba(34, 197, 94, 0.34);
    border-radius: var(--wm-radius);
    color: #bbf7d0;
    font-size: 14px;
    line-height: 1.6;
}

body.wm-site:where(.wm-view-page-add-anketa) .wm-anketa-success-box strong{
    display: block;
    margin-bottom: 7px;
    color: var(--wm-green);
    font-size: 17px;
    font-weight: 900;
}

body.wm-site:where(.wm-view-page-add-anketa) .wm-anketa-success-box p{
    margin: 7px 0 0;
}

body.wm-site:where(.wm-view-page-add-anketa) .wm-account-return-btn{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    margin-top: 14px;
    padding: 11px 18px;
    background: linear-gradient(135deg, var(--wm-accent), var(--wm-accent-dark));
    color: #ffffff !important;
    border-radius: var(--wm-radius);
    text-decoration: none;
    font-size: 14px;
    font-weight: 800;
    transition: 0.2s ease;
}

body.wm-site:where(.wm-view-page-add-anketa) .wm-account-return-btn:hover{
    background: linear-gradient(135deg, var(--wm-accent-hover), var(--wm-accent));
    color: #ffffff !important;
}

body.wm-site:where(.wm-view-page-add-anketa) ul[style*="color:#ef4444"]{
    margin: 0 0 20px 0 !important;
    padding: 14px 16px !important;
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    border-radius: var(--wm-radius);
}

body.wm-site:where(.wm-view-page-add-anketa) ul[style*="color:#ef4444"] li{
    position: relative;
    margin-bottom: 7px;
    padding-left: 18px;
    color: var(--wm-red);
    font-size: 14px;
    line-height: 1.5;
}

body.wm-site:where(.wm-view-page-add-anketa) ul[style*="color:#ef4444"] li:last-child{
    margin-bottom: 0;
}

body.wm-site:where(.wm-view-page-add-anketa) ul[style*="color:#ef4444"] li::before{
    content: '!';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--wm-red);
    font-weight: 900;
}

/* ============================================================
   ОСНОВНАЯ КАРТОЧКА ФОРМЫ
============================================================ */

body.wm-site:where(.wm-view-page-add-anketa) .anketa-tabs{
    overflow: hidden;
    background:
        linear-gradient(180deg, rgba(255,255,255,0.055), rgba(255,255,255,0.018)),
        var(--wm-card);
    border: 1px solid var(--wm-border);
    border-radius: var(--wm-radius);
}

body.wm-site:where(.wm-view-page-add-anketa) .anketa-tabs-header{
    display: flex;
    align-items: stretch;
    background: #1f1e1c;
    border-bottom: 1px solid var(--wm-border);
    padding: 0;
}

body.wm-site:where(.wm-view-page-add-anketa) .anketa-tabs-nav{
    display: flex;
    flex: 1;
    min-width: 0;
}

body.wm-site:where(.wm-view-page-add-anketa) .anketa-tab{
    position: relative;
    flex: 1;
    min-height: 68px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 18px;
    background: transparent;
    border: 0;
    border-right: 1px solid rgba(255,255,255,0.06);
    color: rgba(255,255,255,0.62);
    font-size: 14px;
    font-weight: 800;
    transition: 0.2s ease;
}

body.wm-site:where(.wm-view-page-add-anketa) .anketa-tab:hover{
    color: #ffffff;
    background: rgba(255,255,255,0.04);
}

body.wm-site:where(.wm-view-page-add-anketa) .anketa-tab.active{
    color: #ffffff;
    background: rgba(196, 69, 92, 0.13);
}

body.wm-site:where(.wm-view-page-add-anketa) .anketa-tab.active::after{
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 2px;
    background: var(--wm-accent);
}

body.wm-site:where(.wm-view-page-add-anketa) .tab-number{
    width: 26px;
    height: 26px;
    min-width: 26px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.08);
    border: 1px solid var(--wm-border);
    border-radius: var(--wm-radius);
    color: rgba(255,255,255,0.72);
    font-size: 12px;
    font-weight: 900;
}

body.wm-site:where(.wm-view-page-add-anketa) .anketa-tab.active .tab-number{
    background: var(--wm-accent);
    border-color: var(--wm-accent);
    color: #ffffff;
}

body.wm-site:where(.wm-view-page-add-anketa) .tab-title{
    white-space: nowrap;
}

/* ============================================================
   КНОПКА ИНСТРУКЦИИ
============================================================ */

body.wm-site:where(.wm-view-page-add-anketa) .instruction-btn{
    min-width: 150px;
    padding: 12px 18px;
    background: rgba(196, 69, 92, 0.1);
    border: 0;
    border-left: 1px solid var(--wm-border);
    color: var(--wm-accent-hover);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    transition: 0.2s ease;
}

body.wm-site:where(.wm-view-page-add-anketa) .instruction-btn:hover{
    background: rgba(196, 69, 92, 0.18);
    color: #ffffff;
}

body.wm-site:where(.wm-view-page-add-anketa) .instruction-btn-icon{
    font-size: 19px;
    line-height: 1;
}

body.wm-site:where(.wm-view-page-add-anketa) .instruction-btn-text{
    font-size: 13px;
    font-weight: 900;
    line-height: 1.2;
}

body.wm-site:where(.wm-view-page-add-anketa) .instruction-btn-hint{
    display: block;
    color: rgba(255,255,255,0.48);
    font-size: 11px;
    line-height: 1.2;
}

/* ============================================================
   КОНТЕНТ ВКЛАДОК
============================================================ */

body.wm-site:where(.wm-view-page-add-anketa) .anketa-tabs-content{
    padding: 28px;
}

body.wm-site:where(.wm-view-page-add-anketa) .anketa-tab-pane{
    display: none;
}

body.wm-site:where(.wm-view-page-add-anketa) .anketa-tab-pane.active{
    display: block;
}

body.wm-site:where(.wm-view-page-add-anketa) .tab-pane-header{
    margin-bottom: 24px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--wm-border);
}

body.wm-site:where(.wm-view-page-add-anketa) .tab-pane-header h3{
    margin: 0 0 8px;
    color: #ffffff;
    font-size: 22px;
    line-height: 1.2;
    font-weight: 900;
    letter-spacing: -0.02em;
}

body.wm-site:where(.wm-view-page-add-anketa) .tab-description{
    margin: 0;
    color: var(--wm-muted);
    font-size: 14px;
    line-height: 1.5;
}

/* ============================================================
   ПОЛЯ ФОРМЫ
============================================================ */

body.wm-site:where(.wm-view-page-add-anketa) .form-grid{
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

body.wm-site:where(.wm-view-page-add-anketa) .form-group.full-width{
    grid-column: 1 / -1;
}

body.wm-site:where(.wm-view-page-add-anketa) .form-group label{
    display: block;
    margin-bottom: 8px;
    color: #ffffff;
    font-size: 14px;
    font-weight: 800;
}

body.wm-site:where(.wm-view-page-add-anketa) .form-group label::after{
    content: '*';
    display: none;
    color: var(--wm-accent-hover);
    margin-left: 4px;
}

body.wm-site:where(.wm-view-page-add-anketa) .form-group label.required::after{
    display: inline;
}

body.wm-site:where(.wm-view-page-add-anketa) input[type="text"],
body.wm-site:where(.wm-view-page-add-anketa) input[type="number"],
body.wm-site:where(.wm-view-page-add-anketa) input[type="email"],
body.wm-site:where(.wm-view-page-add-anketa) input[type="password"],
body.wm-site:where(.wm-view-page-add-anketa) textarea,
body.wm-site:where(.wm-view-page-add-anketa) select{
    width: 100%;
    min-height: 46px;
    background: rgba(255,255,255,0.07);
    border: 1px solid var(--wm-border-strong);
    border-radius: var(--wm-radius);
    color: #ffffff;
    font-size: 14px;
    padding: 12px 14px;
    transition: 0.2s ease;
}

body.wm-site:where(.wm-view-page-add-anketa) textarea{
    min-height: 130px;
    resize: vertical;
    line-height: 1.55;
}

body.wm-site:where(.wm-view-page-add-anketa) select{
    appearance: none;
    padding-right: 42px;
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M6 9L12 15L18 9' stroke='%23888888' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 13px center;
    background-size: 18px;
}

body.wm-site:where(.wm-view-page-add-anketa) input[type="text"]:focus,
body.wm-site:where(.wm-view-page-add-anketa) input[type="number"]:focus,
body.wm-site:where(.wm-view-page-add-anketa) input[type="email"]:focus,
body.wm-site:where(.wm-view-page-add-anketa) input[type="password"]:focus,
body.wm-site:where(.wm-view-page-add-anketa) textarea:focus,
body.wm-site:where(.wm-view-page-add-anketa) select:focus{
    outline: none;
    border-color: rgba(196, 69, 92, 0.85);
    background-color: rgba(255,255,255,0.1);
}

body.wm-site:where(.wm-view-page-add-anketa) input.error,
body.wm-site:where(.wm-view-page-add-anketa) textarea.error,
body.wm-site:where(.wm-view-page-add-anketa) select.error{
    border-color: var(--wm-red) !important;
    background: rgba(239, 68, 68, 0.08) !important;
}

body.wm-site:where(.wm-view-page-add-anketa) .error-message{
    color: var(--wm-red) !important;
    font-size: 12px !important;
    margin-top: 6px !important;
}

body.wm-site:where(.wm-view-page-add-anketa) .char-counter{
    margin-top: 7px;
    color: var(--wm-muted-2);
    font-size: 12px;
    text-align: right;
}

/* ============================================================
   ИНДИ ПЕРЕКЛЮЧАТЕЛЬ
============================================================ */

body.wm-site:where(.wm-view-page-add-anketa) .indi-toggle{
    margin-bottom: 22px;
}

body.wm-site:where(.wm-view-page-add-anketa) .indi-toggle-label{
    min-height: 54px;
    padding: 13px 15px;
    background: rgba(255,255,255,0.045);
    border: 1px solid var(--wm-border);
    border-radius: var(--wm-radius);
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    transition: 0.2s ease;
}

body.wm-site:where(.wm-view-page-add-anketa) .indi-toggle-label:hover{
    border-color: rgba(196,69,92,0.5);
    background: rgba(196,69,92,0.08);
}

body.wm-site:where(.wm-view-page-add-anketa) .indi-toggle-label input{
    display: none;
}

body.wm-site:where(.wm-view-page-add-anketa) .indi-toggle-slider{
    position: relative;
    width: 48px;
    height: 26px;
    min-width: 48px;
    background: rgba(255,255,255,0.18);
    border-radius: var(--wm-radius);
    transition: 0.2s ease;
}

body.wm-site:where(.wm-view-page-add-anketa) .indi-toggle-slider::after{
    content: '';
    position: absolute;
    left: 3px;
    top: 3px;
    width: 20px;
    height: 20px;
    background: #ffffff;
    border-radius: var(--wm-radius);
    transition: 0.2s ease;
}

body.wm-site:where(.wm-view-page-add-anketa) .indi-toggle-label input:checked + .indi-toggle-slider{
    background: var(--wm-accent);
}

body.wm-site:where(.wm-view-page-add-anketa) .indi-toggle-label input:checked + .indi-toggle-slider::after{
    left: 25px;
}

body.wm-site:where(.wm-view-page-add-anketa) .indi-toggle-text{
    color: #ffffff;
    font-size: 14px;
    font-weight: 800;
}

/* ============================================================
   УСЛУГИ
============================================================ */

body.wm-site:where(.wm-view-page-add-anketa) .services-toolbar{
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 16px;
}

body.wm-site:where(.wm-view-page-add-anketa) .toolbar-btn{
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 9px 14px;
    background: rgba(255,255,255,0.07);
    border: 1px solid var(--wm-border-strong);
    border-radius: var(--wm-radius);
    color: rgba(255,255,255,0.74);
    font-size: 13px;
    font-weight: 800;
    transition: 0.2s ease;
}

body.wm-site:where(.wm-view-page-add-anketa) .toolbar-btn:hover{
    background: rgba(196,69,92,0.14);
    border-color: rgba(196,69,92,0.48);
    color: #ffffff;
}

body.wm-site:where(.wm-view-page-add-anketa) .btn-icon{
    font-size: 12px;
}

body.wm-site:where(.wm-view-page-add-anketa) .anketa-services-block{
    max-height: 430px;
    overflow-y: auto;
    padding: 16px;
    background: rgba(255,255,255,0.045);
    border: 1px solid var(--wm-border);
    border-radius: var(--wm-radius);
}

body.wm-site:where(.wm-view-page-add-anketa) .anketa-services-block::-webkit-scrollbar{
    width: 7px;
}

body.wm-site:where(.wm-view-page-add-anketa) .anketa-services-block::-webkit-scrollbar-track{
    background: rgba(255,255,255,0.06);
    border-radius: var(--wm-radius);
}

body.wm-site:where(.wm-view-page-add-anketa) .anketa-services-block::-webkit-scrollbar-thumb{
    background: rgba(196,69,92,0.55);
    border-radius: var(--wm-radius);
}

body.wm-site:where(.wm-view-page-add-anketa) .anketa-service-row{
    display: grid;
    grid-template-columns: minmax(0, 1fr) 130px;
    gap: 14px;
    align-items: center;
    padding: 10px;
    border-radius: var(--wm-radius);
    transition: 0.2s ease;
}

body.wm-site:where(.wm-view-page-add-anketa) .anketa-service-row:hover{
    background: rgba(255,255,255,0.04);
}

body.wm-site:where(.wm-view-page-add-anketa) .service-label{
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    margin: 0;
    cursor: pointer;
}

body.wm-site:where(.wm-view-page-add-anketa) .service-label input[type="checkbox"]{
    width: 18px;
    height: 18px;
    accent-color: var(--wm-accent);
}

body.wm-site:where(.wm-view-page-add-anketa) .service-text{
    color: #ffffff;
    font-size: 14px;
    line-height: 1.35;
}

body.wm-site:where(.wm-view-page-add-anketa) .service-price{
    width: 100%;
    min-height: 38px !important;
    padding: 8px 11px !important;
    background: rgba(255,255,255,0.07) !important;
}

/* ============================================================
   МЕДИА
============================================================ */

body.wm-site:where(.wm-view-page-add-anketa) .media-grid{
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

body.wm-site:where(.wm-view-page-add-anketa) .media-section{
    padding: 18px;
    background: rgba(255,255,255,0.045);
    border: 1px solid var(--wm-border);
    border-radius: var(--wm-radius);
}

body.wm-site:where(.wm-view-page-add-anketa) .media-section h4{
    margin: 0 0 8px;
    color: #ffffff;
    font-size: 17px;
    font-weight: 900;
}

body.wm-site:where(.wm-view-page-add-anketa) .media-description{
    margin: 0 0 15px;
    color: var(--wm-muted);
    font-size: 13px;
    line-height: 1.5;
}

body.wm-site:where(.wm-view-page-add-anketa) .file-upload{
    position: relative;
    margin-bottom: 14px;
}

body.wm-site:where(.wm-view-page-add-anketa) .file-upload input[type="file"]{
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
    z-index: 2;
}

body.wm-site:where(.wm-view-page-add-anketa) .file-upload-label{
    min-height: 58px;
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 15px;
    background: rgba(255,255,255,0.055);
    border: 1px dashed rgba(255,255,255,0.24);
    border-radius: var(--wm-radius);
    color: var(--wm-muted);
    font-size: 14px;
    font-weight: 800;
    transition: 0.2s ease;
}

body.wm-site:where(.wm-view-page-add-anketa) .file-upload:hover .file-upload-label{
    border-color: rgba(196,69,92,0.7);
    background: rgba(196,69,92,0.08);
    color: #ffffff;
}

body.wm-site:where(.wm-view-page-add-anketa) .upload-icon{
    font-size: 18px;
    line-height: 1;
}

body.wm-site:where(.wm-view-page-add-anketa) .image-preview-container,
body.wm-site:where(.wm-view-page-add-anketa) .video-preview-container{
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 14px;
}

body.wm-site:where(.wm-view-page-add-anketa) .image-preview{
    position: relative;
    width: 100px;
    height: 100px;
    overflow: hidden;
    display: inline-block;
    vertical-align: top;
    background: #111111;
    border: 1px solid var(--wm-border-strong);
    border-radius: var(--wm-radius);
}

body.wm-site:where(.wm-view-page-add-anketa) .image-preview.main-preview{
    width: 150px;
    height: 150px;
}

body.wm-site:where(.wm-view-page-add-anketa) .image-preview img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

body.wm-site:where(.wm-view-page-add-anketa) .remove-preview{
    position: absolute;
    top: 6px;
    right: 6px;
    width: 25px;
    height: 25px;
    background: rgba(239, 68, 68, 0.92);
    border: 0;
    border-radius: var(--wm-radius);
    color: #ffffff;
    font-size: 17px;
    font-weight: 900;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: 0.2s ease;
}

body.wm-site:where(.wm-view-page-add-anketa) .remove-preview:hover{
    background: rgba(239, 68, 68, 1);
}

body.wm-site:where(.wm-view-page-add-anketa) .video-preview{
    position: relative;
    max-width: 420px;
    margin-top: 14px;
    padding: 15px;
    background: rgba(255,255,255,0.045);
    border: 1px solid var(--wm-border);
    border-radius: var(--wm-radius);
}

body.wm-site:where(.wm-view-page-add-anketa) .video-preview video{
    width: 100%;
    max-width: 320px;
    max-height: 220px;
    background: #000000;
    border-radius: var(--wm-radius);
}

body.wm-site:where(.wm-view-page-add-anketa) .video-info{
    margin-top: 10px;
    color: var(--wm-muted);
    font-size: 13px;
    line-height: 1.5;
}

body.wm-site:where(.wm-view-page-add-anketa) .video-info div{
    margin-bottom: 5px;
}

body.wm-site:where(.wm-view-page-add-anketa) .verification-hint{
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid var(--wm-border);
}

body.wm-site:where(.wm-view-page-add-anketa) .verification-hint h5{
    margin: 0 0 10px;
    color: #ffffff;
    font-size: 14px;
    font-weight: 900;
}

body.wm-site:where(.wm-view-page-add-anketa) .verification-hint ul{
    margin: 0;
    padding-left: 18px;
    list-style: disc;
    color: var(--wm-muted);
    font-size: 13px;
    line-height: 1.55;
}

body.wm-site:where(.wm-view-page-add-anketa) .verification-hint li{
    margin-bottom: 6px;
}

body.wm-site:where(.wm-view-page-add-anketa) .verification-hint img{
    display: block;
    width: 100%;
    max-width: 220px;
    height: auto;
    margin: 15px 0 0;
    background: #111111;
    border: 1px solid var(--wm-border-strong);
    border-radius: var(--wm-radius);
}

body.wm-site:where(.wm-view-page-add-anketa) .wm-video-note{
    margin: 0 0 14px;
    padding: 12px 14px;
    background: rgba(196, 69, 92, 0.1);
    border: 1px solid rgba(196, 69, 92, 0.35);
    border-radius: var(--wm-radius);
}

body.wm-site:where(.wm-view-page-add-anketa) .wm-video-note strong{
    display: block;
    margin-bottom: 4px;
    color: #ffffff;
    font-size: 14px;
    font-weight: 900;
}

body.wm-site:where(.wm-view-page-add-anketa) .wm-video-note span{
    display: block;
    color: var(--wm-muted);
    font-size: 13px;
    line-height: 1.45;
}

/* ============================================================
   ПРОГРЕСС ЗАГРУЗКИ
============================================================ */

body.wm-site:where(.wm-view-page-add-anketa) .wm-upload-progress{
    display: none;
    margin: 12px 0 14px;
    padding: 12px;
    background: rgba(17, 17, 17, 0.72);
    border: 1px solid var(--wm-border-strong);
    border-radius: var(--wm-radius);
}

body.wm-site:where(.wm-view-page-add-anketa) .wm-upload-progress.is-visible{
    display: block;
}

body.wm-site:where(.wm-view-page-add-anketa) .wm-upload-progress.is-error{
    border-color: rgba(239, 68, 68, 0.55);
    background: rgba(239, 68, 68, 0.08);
}

body.wm-site:where(.wm-view-page-add-anketa) .wm-upload-progress.is-done{
    border-color: rgba(34, 197, 94, 0.55);
    background: rgba(34, 197, 94, 0.08);
}

body.wm-site:where(.wm-view-page-add-anketa) .wm-upload-progress__top{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 8px;
}

body.wm-site:where(.wm-view-page-add-anketa) .wm-upload-progress__top span{
    color: #d1d5db;
    font-size: 13px;
    line-height: 1.3;
}

body.wm-site:where(.wm-view-page-add-anketa) .wm-upload-progress__top b{
    color: #ffffff;
    font-size: 13px;
    font-weight: 900;
    white-space: nowrap;
}

body.wm-site:where(.wm-view-page-add-anketa) .wm-upload-progress__bar{
    width: 100%;
    height: 9px;
    overflow: hidden;
    background: rgba(255,255,255,0.08);
    border: 1px solid var(--wm-border);
    border-radius: var(--wm-radius);
}

body.wm-site:where(.wm-view-page-add-anketa) .wm-upload-progress__bar i{
    display: block;
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg, var(--wm-accent), var(--wm-accent-hover));
    border-radius: var(--wm-radius);
    transition: width 0.2s ease;
}

body.wm-site:where(.wm-view-page-add-anketa) .wm-upload-progress__status{
    margin-top: 7px;
    color: var(--wm-muted-2);
    font-size: 12px;
    line-height: 1.4;
}

body.wm-site:where(.wm-view-page-add-anketa) .wm-upload-progress.is-error .wm-upload-progress__status{
    color: var(--wm-red);
}

body.wm-site:where(.wm-view-page-add-anketa) .wm-upload-progress.is-done .wm-upload-progress__status{
    color: var(--wm-green);
}

/* ============================================================
   НАВИГАЦИЯ ПО ВКЛАДКАМ
============================================================ */

body.wm-site:where(.wm-view-page-add-anketa) .tab-navigation{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
    padding: 20px 28px;
    background: #1f1e1c;
    border-top: 1px solid var(--wm-border);
}

body.wm-site:where(.wm-view-page-add-anketa) .tab-nav-btn{
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 18px;
    background: rgba(255,255,255,0.07);
    border: 1px solid var(--wm-border-strong);
    border-radius: var(--wm-radius);
    color: #ffffff;
    font-size: 14px;
    font-weight: 800;
    transition: 0.2s ease;
}

body.wm-site:where(.wm-view-page-add-anketa) .tab-nav-btn:hover:not(:disabled){
    background: rgba(196,69,92,0.15);
    border-color: rgba(196,69,92,0.5);
}

body.wm-site:where(.wm-view-page-add-anketa) .tab-nav-btn.is-loading{
    opacity: 0.75;
    cursor: wait;
    pointer-events: none;
}

body.wm-site:where(.wm-view-page-add-anketa) .nav-icon{
    font-size: 12px;
}

body.wm-site:where(.wm-view-page-add-anketa) .tab-steps{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-width: 220px;
}

body.wm-site:where(.wm-view-page-add-anketa) .step{
    width: 32px;
    height: 32px;
    background: rgba(255,255,255,0.08);
    border: 1px solid var(--wm-border);
    border-radius: var(--wm-radius);
    color: var(--wm-muted);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 900;
    transition: 0.2s ease;
}

body.wm-site:where(.wm-view-page-add-anketa) .step.active{
    background: var(--wm-accent);
    border-color: var(--wm-accent);
    color: #ffffff;
}

body.wm-site:where(.wm-view-page-add-anketa) .step-line{
    width: 38px;
    height: 2px;
    background: rgba(255,255,255,0.12);
    border-radius: var(--wm-radius);
}

/* ============================================================
   КНОПКА ОТПРАВКИ
============================================================ */

body.wm-site:where(.wm-view-page-add-anketa) .form-actions{
    margin-top: 20px;
    padding: 26px;
    text-align: center;
    background:
        linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.015)),
        var(--wm-card);
    border: 1px solid var(--wm-border);
    border-radius: var(--wm-radius);
}

body.wm-site:where(.wm-view-page-add-anketa) .submit-btn{
    min-width: 220px;
    min-height: 50px;
    padding: 15px 34px;
    background: linear-gradient(135deg, var(--wm-accent), var(--wm-accent-dark));
    border: 0;
    border-radius: var(--wm-radius);
    color: #ffffff;
    font-size: 16px;
    font-weight: 900;
    transition: 0.2s ease;
}

body.wm-site:where(.wm-view-page-add-anketa) .submit-btn:hover{
    background: linear-gradient(135deg, var(--wm-accent-hover), var(--wm-accent));
}

body.wm-site:where(.wm-view-page-add-anketa) .submit-btn.is-loading{
    opacity: 0.75;
    cursor: wait;
    pointer-events: none;
}

/* ============================================================
   МОДАЛЬНЫЕ ОКНА
============================================================ */

body.wm-site:where(.wm-view-page-add-anketa) .anketa-modal{
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

body.wm-site:where(.wm-view-page-add-anketa) .anketa-modal--visible{
    display: flex;
}

body.wm-site:where(.wm-view-page-add-anketa) .anketa-modal__backdrop{
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.76);
}

body.wm-site:where(.wm-view-page-add-anketa) .anketa-modal__dialog{
    position: relative;
    width: 100%;
    max-width: 520px;
    max-height: 90vh;
    overflow-y: auto;
    padding: 28px;
    background:
        linear-gradient(180deg, rgba(255,255,255,0.055), rgba(255,255,255,0.018)),
        var(--wm-card);
    border: 1px solid var(--wm-border-strong);
    border-radius: var(--wm-radius);
}

body.wm-site:where(.wm-view-page-add-anketa) .anketa-modal__dialog h3{
    margin: 0 0 15px;
    color: #ffffff;
    font-size: 22px;
    line-height: 1.2;
    font-weight: 900;
    text-align: center;
}

body.wm-site:where(.wm-view-page-add-anketa) .anketa-modal__dialog p{
    margin: 0 0 16px;
    color: var(--wm-muted);
    font-size: 14px;
    line-height: 1.55;
    text-align: center;
}

body.wm-site:where(.wm-view-page-add-anketa) .anketa-modal__btn{
    min-width: 150px;
    min-height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 18px auto 0;
    padding: 11px 24px;
    background: linear-gradient(135deg, var(--wm-accent), var(--wm-accent-dark));
    border: 0;
    border-radius: var(--wm-radius);
    color: #ffffff;
    font-size: 14px;
    font-weight: 900;
    transition: 0.2s ease;
}

body.wm-site:where(.wm-view-page-add-anketa) .anketa-modal__btn:hover{
    background: linear-gradient(135deg, var(--wm-accent-hover), var(--wm-accent));
}

body.wm-site:where(.wm-view-page-add-anketa) .anketa-modal__account-btn{
    width: 100%;
    max-width: 270px;
    min-height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 12px auto 0;
    padding: 11px 18px;
    background: rgba(255,255,255,0.07);
    border: 1px solid var(--wm-border-strong);
    border-radius: var(--wm-radius);
    color: #ffffff !important;
    text-decoration: none;
    font-size: 14px;
    font-weight: 900;
    transition: 0.2s ease;
}

body.wm-site:where(.wm-view-page-add-anketa) .anketa-modal__account-btn:hover{
    background: rgba(196,69,92,0.15);
    border-color: rgba(196,69,92,0.5);
    color: #ffffff !important;
}

/* ============================================================
   МОДАЛЬНОЕ ОКНО ИНСТРУКЦИИ
============================================================ */

body.wm-site:where(.wm-view-page-add-anketa) .anketa-modal__dialog--instruction{
    max-width: 840px;
    max-height: 90vh;
    padding: 30px;
}

body.wm-site:where(.wm-view-page-add-anketa) .anketa-modal__close{
    position: absolute;
    top: 14px;
    right: 14px;
    width: 36px;
    height: 36px;
    background: rgba(255,255,255,0.06);
    border: 1px solid var(--wm-border);
    border-radius: var(--wm-radius);
    color: var(--wm-muted);
    font-size: 24px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.2s ease;
    z-index: 10;
}

body.wm-site:where(.wm-view-page-add-anketa) .anketa-modal__close:hover{
    background: rgba(196,69,92,0.18);
    border-color: rgba(196,69,92,0.5);
    color: #ffffff;
}

body.wm-site:where(.wm-view-page-add-anketa) .instruction-content{
    padding: 8px 0 0;
}

body.wm-site:where(.wm-view-page-add-anketa) .instruction-section{
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--wm-border);
}

body.wm-site:where(.wm-view-page-add-anketa) .instruction-section:last-of-type{
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: 0;
}

body.wm-site:where(.wm-view-page-add-anketa) .instruction-section h4{
    margin: 0 0 14px;
    color: #ffffff;
    font-size: 17px;
    font-weight: 900;
}

body.wm-site:where(.wm-view-page-add-anketa) .instruction-section ul,
body.wm-site:where(.wm-view-page-add-anketa) .instruction-section ol{
    margin: 0;
    padding-left: 20px;
    list-style: disc;
    color: #d1d5db;
    font-size: 14px;
    line-height: 1.65;
}

body.wm-site:where(.wm-view-page-add-anketa) .instruction-section ol{
    list-style: decimal;
}

body.wm-site:where(.wm-view-page-add-anketa) .instruction-section li{
    margin-bottom: 8px;
}

body.wm-site:where(.wm-view-page-add-anketa) .instruction-section li ul,
body.wm-site:where(.wm-view-page-add-anketa) .instruction-section li ol{
    margin-top: 8px;
    margin-bottom: 8px;
}

body.wm-site:where(.wm-view-page-add-anketa) .instruction-section strong{
    color: #ffffff;
    font-weight: 900;
}

body.wm-site:where(.wm-view-page-add-anketa) .instruction-tips{
    padding: 18px;
    background: rgba(255,255,255,0.035);
    border: 1px solid var(--wm-border);
    border-radius: var(--wm-radius);
}

body.wm-site:where(.wm-view-page-add-anketa) .tips-grid{
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 14px;
}

body.wm-site:where(.wm-view-page-add-anketa) .tip{
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 13px;
    background: rgba(255,255,255,0.045);
    border: 1px solid var(--wm-border);
    border-radius: var(--wm-radius);
    transition: 0.2s ease;
}

body.wm-site:where(.wm-view-page-add-anketa) .tip:hover{
    border-color: rgba(196,69,92,0.5);
    background: rgba(196,69,92,0.08);
}

body.wm-site:where(.wm-view-page-add-anketa) .tip-icon{
    font-size: 20px;
    flex-shrink: 0;
}

body.wm-site:where(.wm-view-page-add-anketa) .tip-text{
    color: #d1d5db;
    font-size: 13px;
    line-height: 1.5;
}

body.wm-site:where(.wm-view-page-add-anketa) .instruction-footer{
    margin-top: 24px;
    padding-top: 24px;
    text-align: center;
    border-top: 1px solid var(--wm-border);
}

/* ============================================================
   ГЕНЕРАТОР ОПИСАНИЯ В ФОРМЕ АНКЕТЫ
============================================================ */

body.wm-site:where(.wm-view-page-add-anketa) .wm-description-field__head{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 9px;
}

body.wm-site:where(.wm-view-page-add-anketa) .wm-description-field__head label{
    margin: 0;
}

body.wm-site:where(.wm-view-page-add-anketa) .wm-description-generate-button{
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 9px 14px;
    border: 1px solid rgba(196, 69, 92, 0.5);
    border-radius: 7px;
    background: rgba(196, 69, 92, 0.12);
    color: #ffffff;
    font-size: 13px;
    line-height: 1;
    font-weight: 800;
    cursor: pointer;
    transition: 0.18s ease;
}

body.wm-site:where(.wm-view-page-add-anketa) .wm-description-generate-button:hover{
    border-color: #c4455c;
    background: rgba(196, 69, 92, 0.22);
}

body.wm-site:where(.wm-view-page-add-anketa) .wm-description-generate-button:disabled{
    opacity: 0.55;
    cursor: not-allowed;
}

body.wm-site:where(.wm-view-page-add-anketa) .wm-description-generate-button svg{
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

body.wm-site:where(.wm-view-page-add-anketa) .wm-description-field textarea{
    min-height: 145px;
    resize: vertical;
}

body.wm-site:where(.wm-view-page-add-anketa) .wm-description-field__bottom{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin-top: 7px;
}

body.wm-site:where(.wm-view-page-add-anketa) .wm-description-field__hint{
    color: rgba(255, 255, 255, 0.45);
    font-size: 12px;
    line-height: 1.35;
    text-align: right;
}


/* Модальное окно */

body.wm-site:where(.wm-view-page-add-anketa) .wm-description-modal{
    position: fixed;
    inset: 0;
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.2s ease, visibility 0.2s ease;
}

body.wm-site:where(.wm-view-page-add-anketa) .wm-description-modal.is-open{
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

body.wm-site:where(.wm-view-page-add-anketa) .wm-description-modal__overlay{
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.82);
    backdrop-filter: blur(5px);
}

body.wm-site:where(.wm-view-page-add-anketa) .wm-description-modal__window{
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 720px;
    max-height: calc(100vh - 40px);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background:
        radial-gradient(
            circle at top right,
            rgba(196, 69, 92, 0.16),
            transparent 280px
        ),
        #232220;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.55);
}

body.wm-site:where(.wm-view-page-add-anketa) .wm-description-modal__header{
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    padding: 22px 24px;
    background: rgba(0, 0, 0, 0.16);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

body.wm-site:where(.wm-view-page-add-anketa) .wm-description-modal__eyebrow{
    margin-bottom: 6px;
    color: #d15a71;
    font-size: 11px;
    line-height: 1;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

body.wm-site:where(.wm-view-page-add-anketa) .wm-description-modal__header h3{
    margin: 0;
    color: #ffffff;
    font-size: 23px;
    line-height: 1.2;
    font-weight: 900;
}

body.wm-site:where(.wm-view-page-add-anketa) .wm-description-modal__close{
    width: 38px;
    height: 38px;
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 7px;
    background: rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.7);
    font-size: 26px;
    line-height: 1;
    cursor: pointer;
    transition: 0.18s ease;
}

body.wm-site:where(.wm-view-page-add-anketa) .wm-description-modal__close:hover{
    color: #ffffff;
    border-color: rgba(196, 69, 92, 0.5);
    background: rgba(196, 69, 92, 0.16);
}

body.wm-site:where(.wm-view-page-add-anketa) .wm-description-modal__body{
    min-height: 300px;
    padding: 24px;
    overflow-y: auto;
}

body.wm-site:where(.wm-view-page-add-anketa) .wm-description-modal__loading{
    min-height: 260px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

body.wm-site:where(.wm-view-page-add-anketa) .wm-description-loader{
    width: 46px;
    height: 46px;
    margin-bottom: 18px;
    border: 3px solid rgba(255, 255, 255, 0.12);
    border-top-color: #c4455c;
    border-radius: 50%;
    animation: wmDescriptionSpin 0.75s linear infinite;
}

@keyframes wmDescriptionSpin {
    to {
        transform: rotate(360deg);
    }
}

body.wm-site:where(.wm-view-page-add-anketa) .wm-description-modal__loading-title{
    margin-bottom: 7px;
    color: #ffffff;
    font-size: 18px;
    line-height: 1.3;
    font-weight: 900;
}

body.wm-site:where(.wm-view-page-add-anketa) .wm-description-modal__loading-text{
    color: rgba(255, 255, 255, 0.56);
    font-size: 13px;
    line-height: 1.5;
}

body.wm-site:where(.wm-view-page-add-anketa) .wm-description-modal__notice{
    margin-bottom: 17px;
    padding: 12px 14px;
    border: 1px solid rgba(196, 69, 92, 0.25);
    border-radius: 7px;
    background: rgba(196, 69, 92, 0.1);
    color: rgba(255, 255, 255, 0.82);
    font-size: 13px;
    line-height: 1.5;
}

body.wm-site:where(.wm-view-page-add-anketa) .wm-description-modal__label{
    display: block;
    margin-bottom: 9px;
    color: #ffffff;
    font-size: 14px;
    font-weight: 800;
}

body.wm-site:where(.wm-view-page-add-anketa) .wm-description-modal__textarea{
    width: 100%;
    min-height: 255px;
    box-sizing: border-box;
    resize: vertical;
    padding: 15px 16px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 7px;
    outline: none;
    background: rgba(255, 255, 255, 0.055);
    color: #ffffff;
    font-family: inherit;
    font-size: 14px;
    line-height: 1.65;
    transition: 0.18s ease;
}

body.wm-site:where(.wm-view-page-add-anketa) .wm-description-modal__textarea:focus{
    border-color: rgba(196, 69, 92, 0.85);
    background: rgba(255, 255, 255, 0.075);
}

body.wm-site:where(.wm-view-page-add-anketa) .wm-description-modal__meta{
    display: flex;
    justify-content: space-between;
    gap: 15px;
    margin-top: 8px;
    color: rgba(255, 255, 255, 0.45);
    font-size: 12px;
    line-height: 1.4;
}

body.wm-site:where(.wm-view-page-add-anketa) .wm-description-modal__error{
    padding: 15px;
    border: 1px solid rgba(251, 113, 133, 0.3);
    border-radius: 7px;
    background: rgba(251, 113, 133, 0.1);
    color: #fb7185;
    font-size: 14px;
    line-height: 1.5;
}

body.wm-site:where(.wm-view-page-add-anketa) .wm-description-modal__footer{
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    padding: 17px 24px;
    background: rgba(0, 0, 0, 0.16);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

body.wm-site:where(.wm-view-page-add-anketa) .wm-description-modal__button{
    min-height: 43px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 11px 17px;
    border-radius: 7px;
    font-family: inherit;
    font-size: 13px;
    line-height: 1;
    font-weight: 900;
    cursor: pointer;
    transition: 0.18s ease;
}

body.wm-site:where(.wm-view-page-add-anketa) .wm-description-modal__button--secondary{
    border: 1px solid rgba(255, 255, 255, 0.17);
    background: rgba(255, 255, 255, 0.07);
    color: #ffffff;
}

body.wm-site:where(.wm-view-page-add-anketa) .wm-description-modal__button--secondary:hover{
    background: rgba(255, 255, 255, 0.12);
}

body.wm-site:where(.wm-view-page-add-anketa) .wm-description-modal__button--primary{
    border: 1px solid #c4455c;
    background: linear-gradient(135deg, #c4455c, #9f3246);
    color: #ffffff;
}

body.wm-site:where(.wm-view-page-add-anketa) .wm-description-modal__button--primary:hover{
    background: linear-gradient(135deg, #d15a71, #c4455c);
}

body.wm-site:where(.wm-view-page-add-anketa).wm-description-modal-lock{
    overflow: hidden;
}

@media (max-width: 640px) {
    body.wm-site:where(.wm-view-page-add-anketa) .wm-description-field__head{
        align-items: stretch;
        flex-direction: column;
    }

    body.wm-site:where(.wm-view-page-add-anketa) .wm-description-generate-button{
        width: 100%;
    }

    body.wm-site:where(.wm-view-page-add-anketa) .wm-description-field__bottom,
body.wm-site:where(.wm-view-page-add-anketa) .wm-description-modal__meta{
        align-items: flex-start;
        flex-direction: column;
    }

    body.wm-site:where(.wm-view-page-add-anketa) .wm-description-field__hint{
        text-align: left;
    }

    body.wm-site:where(.wm-view-page-add-anketa) .wm-description-modal{
        align-items: flex-end;
        padding: 0;
    }

    body.wm-site:where(.wm-view-page-add-anketa) .wm-description-modal__window{
        max-height: 92vh;
        border-radius: 12px 12px 0 0;
    }

    body.wm-site:where(.wm-view-page-add-anketa) .wm-description-modal__header,
body.wm-site:where(.wm-view-page-add-anketa) .wm-description-modal__body,
body.wm-site:where(.wm-view-page-add-anketa) .wm-description-modal__footer{
        padding-left: 17px;
        padding-right: 17px;
    }

    body.wm-site:where(.wm-view-page-add-anketa) .wm-description-modal__footer{
        flex-direction: column-reverse;
    }

    body.wm-site:where(.wm-view-page-add-anketa) .wm-description-modal__button{
        width: 100%;
    }
}

/* ============================================================
   АДАПТИВ
============================================================ */

@media (max-width: 1100px) {
    body.wm-site:where(.wm-view-page-add-anketa) .anketa-tab{
        padding: 15px 12px;
    }

    body.wm-site:where(.wm-view-page-add-anketa) .media-grid{
        grid-template-columns: 1fr;
    }
}

@media (max-width: 900px) {
    body.wm-site:where(.wm-view-page-add-anketa) .anketa-tabs-header{
        flex-direction: column;
    }

    body.wm-site:where(.wm-view-page-add-anketa) .anketa-tabs-nav{
        width: 100%;
    }

    body.wm-site:where(.wm-view-page-add-anketa) .instruction-btn{
        width: 100%;
        min-width: 0;
        min-height: 52px;
        flex-direction: row;
        border-left: 0;
        border-top: 1px solid var(--wm-border);
    }

    body.wm-site:where(.wm-view-page-add-anketa) .instruction-btn-hint{
        display: none;
    }

    body.wm-site:where(.wm-view-page-add-anketa) .form-grid{
        grid-template-columns: 1fr;
    }

    body.wm-site:where(.wm-view-page-add-anketa) .anketa-service-row{
        grid-template-columns: 1fr;
    }

    body.wm-site:where(.wm-view-page-add-anketa) .service-price{
        max-width: none;
    }

    body.wm-site:where(.wm-view-page-add-anketa) .tab-navigation{
        flex-direction: column;
        align-items: stretch;
        padding: 18px;
    }

    body.wm-site:where(.wm-view-page-add-anketa) .tab-nav-btn{
        width: 100%;
    }

    body.wm-site:where(.wm-view-page-add-anketa) .tab-steps{
        width: 100%;
        min-width: 0;
        order: 2;
    }

    body.wm-site:where(.wm-view-page-add-anketa) #prev-tab{
        order: 1;
    }

    body.wm-site:where(.wm-view-page-add-anketa) #next-tab{
        order: 3;
    }
}

@media (max-width: 768px) {
    body.wm-site:where(.wm-view-page-add-anketa) .messenger-login-wrap{
        padding: 24px 14px 54px;
    }

    body.wm-site:where(.wm-view-page-add-anketa) .messenger-login-wrap > h2{
        font-size: 25px;
    }

    body.wm-site:where(.wm-view-page-add-anketa) .anketa-tabs-content{
        padding: 20px;
    }

    body.wm-site:where(.wm-view-page-add-anketa) .anketa-tabs-nav{
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    body.wm-site:where(.wm-view-page-add-anketa) .anketa-tab{
        min-height: 58px;
        padding: 12px 8px;
    }

    body.wm-site:where(.wm-view-page-add-anketa) .tab-title{
        display: none;
    }

    body.wm-site:where(.wm-view-page-add-anketa) .tab-number{
        width: 28px;
        height: 28px;
        min-width: 28px;
    }

    body.wm-site:where(.wm-view-page-add-anketa) .tab-pane-header h3{
        font-size: 20px;
    }

    body.wm-site:where(.wm-view-page-add-anketa) .tips-grid{
        grid-template-columns: 1fr;
    }

    body.wm-site:where(.wm-view-page-add-anketa) .anketa-modal{
        padding: 14px;
    }

    body.wm-site:where(.wm-view-page-add-anketa) .anketa-modal__dialog{
        padding: 24px 18px;
    }

    body.wm-site:where(.wm-view-page-add-anketa) .anketa-modal__dialog--instruction{
        padding: 28px 18px;
    }
}

@media (max-width: 520px) {
    body.wm-site:where(.wm-view-page-add-anketa) .messenger-login-wrap{
        padding-left: 10px;
        padding-right: 10px;
    }

    body.wm-site:where(.wm-view-page-add-anketa) .anketa-tabs-content{
        padding: 15px;
    }

    body.wm-site:where(.wm-view-page-add-anketa) .media-section{
        padding: 15px;
    }

    body.wm-site:where(.wm-view-page-add-anketa) .form-actions{
        padding: 20px;
    }

    body.wm-site:where(.wm-view-page-add-anketa) .submit-btn{
        width: 100%;
        min-width: 0;
    }

    body.wm-site:where(.wm-view-page-add-anketa) .step{
        width: 28px;
        height: 28px;
        font-size: 13px;
    }

    body.wm-site:where(.wm-view-page-add-anketa) .step-line{
        width: 24px;
    }

    body.wm-site:where(.wm-view-page-add-anketa) .image-preview{
        width: 86px;
        height: 86px;
    }

    body.wm-site:where(.wm-view-page-add-anketa) .image-preview.main-preview{
        width: 120px;
        height: 120px;
    }

    body.wm-site:where(.wm-view-page-add-anketa) .verification-hint img{
        max-width: 100%;
    }
}
/* ========== КОНЕЦ: Шаблон: page-add-anketa ========== */



/* ========== НАЧАЛО: Шаблон: page-all-ankety ========== */
body.wm-site:where(.wm-view-page-all-ankety) .wm-load-more-wrap{
    display: flex;
    justify-content: center;
    width: 100%;
    margin-top: 32px;
}

body.wm-site:where(.wm-view-page-all-ankety) .wm-load-more{
    min-width: 230px;
    min-height: 48px;
    padding: 12px 28px;
    cursor: pointer;
}

body.wm-site:where(.wm-view-page-all-ankety) .wm-load-more:disabled{
    opacity: 0.65;
    cursor: default;
}
/* ========== КОНЕЦ: Шаблон: page-all-ankety ========== */



/* ========== НАЧАЛО: Шаблон: page-favorites ========== */
/* ============================================================
   СТРАНИЦА ИЗБРАННОГО
   Карточки берут основной дизайн из общего style.css
============================================================ */

body.wm-site:where(.wm-view-page-favorites) .favorites-page{
    min-height: calc(100vh - 80px);
    padding: 34px 0 56px;
    background:
        radial-gradient(circle at top, rgba(196, 69, 92, 0.05), transparent 360px),
        var(--bg-body, #1a1a1a);
}

body.wm-site:where(.wm-view-page-favorites) .favorites-container{
    max-width: var(--site-max, 1350px);
    margin: 0 auto;
    padding: 0 20px;
}

body.wm-site:where(.wm-view-page-favorites) .favorites-header{
    margin-bottom: 30px;
    text-align: center;
}

body.wm-site:where(.wm-view-page-favorites) .favorites-title{
    margin: 0;
    color: #ffffff;
    font-size: clamp(30px, 3vw, 42px);
    line-height: 1.1;
    font-weight: 850;
    letter-spacing: -0.04em;
}

body.wm-site:where(.wm-view-page-favorites) .favorites-counter{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 22px;
    padding: 12px 18px;
    background: rgba(196, 69, 92, 0.1);
    border: 1px solid rgba(196, 69, 92, 0.32);
    border-radius: 999px;
}

body.wm-site:where(.wm-view-page-favorites) .favorites-counter-number{
    color: var(--accent-hover, #d75970);
    font-size: 28px;
    line-height: 1;
    font-weight: 900;
}

body.wm-site:where(.wm-view-page-favorites) .favorites-counter-text{
    color: rgba(255, 255, 255, 0.86);
    font-size: 14px;
    line-height: 1.2;
    font-weight: 700;
    white-space: nowrap;
}

/* Главное правило: на странице избранного 3 карточки в ряд */
body.wm-site:where(.wm-view-page-favorites) .favorites-page .favorites-grid{
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 26px;
    margin-top: 30px;
    max-width: 100% !important;
    width: 100%;
}

/* Чтобы карточки внутри избранного не наследовали лишние ограничения */
body.wm-site:where(.wm-view-page-favorites) .favorites-page .favorites-grid .card{
    width: 100%;
}

/* Пустой экран */
body.wm-site:where(.wm-view-page-favorites) .favorites-empty{
    max-width: 620px;
    margin: 38px auto 0;
    padding: 42px 28px;
    text-align: center;
    background:
        radial-gradient(circle at top left, rgba(196, 69, 92, 0.08), transparent 260px),
        var(--bg-panel, #232220);
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: var(--radius-xl, 24px);
}

body.wm-site:where(.wm-view-page-favorites) .favorites-empty-title{
    margin: 0 0 12px;
    color: #ffffff;
    font-size: 24px;
    line-height: 1.2;
    font-weight: 850;
}

body.wm-site:where(.wm-view-page-favorites) .favorites-empty-text{
    max-width: 430px;
    margin: 0 auto 24px;
    color: rgba(255, 255, 255, 0.68);
    font-size: 15px;
    line-height: 1.6;
}

body.wm-site:where(.wm-view-page-favorites) .favorites-empty-button{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 12px 28px;
    background: var(--accent, #c4455c);
    border: 1px solid var(--accent, #c4455c);
    border-radius: 999px;
    color: #ffffff;
    text-decoration: none;
    font-size: 15px;
    font-weight: 800;
    transition: background 0.18s ease, border-color 0.18s ease;
}

body.wm-site:where(.wm-view-page-favorites) .favorites-empty-button:hover{
    background: var(--accent-hover, #d75970);
    border-color: var(--accent-hover, #d75970);
    color: #ffffff;
}

body.wm-site:where(.wm-view-page-favorites) .favorites-remove-fade{
    opacity: 0;
    transition: opacity 0.22s ease;
}

/* Планшет: 2 карточки */
@media (max-width: 1200px) {
    body.wm-site:where(.wm-view-page-favorites) .favorites-page .favorites-grid{
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 22px;
    }
}

/* Телефон: 1 карточка */
@media (max-width: 768px) {
    body.wm-site:where(.wm-view-page-favorites) .favorites-page{
        padding: 26px 0 42px;
    }

    body.wm-site:where(.wm-view-page-favorites) .favorites-container{
        padding: 0 14px;
    }

    body.wm-site:where(.wm-view-page-favorites) .favorites-header{
        margin-bottom: 22px;
    }

    body.wm-site:where(.wm-view-page-favorites) .favorites-counter{
        margin-top: 18px;
    }

    body.wm-site:where(.wm-view-page-favorites) .favorites-page .favorites-grid{
        grid-template-columns: 1fr !important;
        gap: 16px;
        margin-top: 24px;
    }

    body.wm-site:where(.wm-view-page-favorites) .favorites-empty{
        margin-top: 26px;
        padding: 32px 18px;
        border-radius: var(--radius-lg, 20px);
    }

    body.wm-site:where(.wm-view-page-favorites) .favorites-empty-title{
        font-size: 22px;
    }

    body.wm-site:where(.wm-view-page-favorites) .favorites-empty-text{
        font-size: 14px;
    }
}
/* ========== КОНЕЦ: Шаблон: page-favorites ========== */



/* ========== НАЧАЛО: Шаблон: page-login ========== */
body.wm-site:where(.wm-view-page-login) .login-page{
    position: relative;
    min-height: calc(100vh - 80px);
    padding: 56px 20px;
    background:
        linear-gradient(90deg, rgba(26, 26, 26, 0.72) 0%, rgba(26, 26, 26, 0.76) 38%, rgba(26, 26, 26, 0.96) 72%, #1a1a1a 100%),
        radial-gradient(circle at 20% 30%, rgba(196, 69, 92, 0.26), transparent 340px),
        url('/wp-content/uploads/2025/12/i-2.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
}

body.wm-site:where(.wm-view-page-login) .login-page::before{
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at top right, rgba(196, 69, 92, 0.16), transparent 420px),
        linear-gradient(180deg, rgba(26, 26, 26, 0.16), #1a1a1a 118%);
    pointer-events: none;
}

body.wm-site:where(.wm-view-page-login) .login-page::after{
    content: "MIRACLE";
    position: absolute;
    left: 50%;
    bottom: 34px;
    z-index: 0;
    width: 100%;
    text-align: center;
    color: rgba(255, 255, 255, 0.035);
    font-size: clamp(58px, 12vw, 170px);
    line-height: 1;
    font-weight: 950;
    letter-spacing: 12px;
    pointer-events: none;
}

body.wm-site:where(.wm-view-page-login) .login-inner{
    position: relative;
    z-index: 2;
    max-width: 1350px;
    min-height: 720px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 460px;
    grid-template-areas:
        "hero panel"
        "features panel";
    gap: 26px 44px;
    align-items: center;
}

body.wm-site:where(.wm-view-page-login) .login-hero{
    grid-area: hero;
    max-width: 670px;
    padding: 24px 0 0;
}

body.wm-site:where(.wm-view-page-login) .login-kicker{
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 7px 13px;
    margin-bottom: 20px;
    border-radius: 999px;
    background: rgba(196, 69, 92, 0.16);
    border: 1px solid rgba(196, 69, 92, 0.38);
    color: var(--accent-hover, #d75970);
    font-size: 13px;
    line-height: 1;
    font-weight: 850;
    letter-spacing: 0.4px;
    text-transform: uppercase;
}

body.wm-site:where(.wm-view-page-login) .login-title{
    max-width: 700px;
    margin: 0;
    color: #ffffff;
    font-size: clamp(42px, 5vw, 74px);
    line-height: 0.96;
    font-weight: 950;
    letter-spacing: -0.07em;
}

body.wm-site:where(.wm-view-page-login) .login-title span{
    color: var(--accent-hover, #d75970);
}

body.wm-site:where(.wm-view-page-login) .login-subtitle{
    max-width: 560px;
    margin: 24px 0 0;
    color: rgba(255, 255, 255, 0.76);
    font-size: 17px;
    line-height: 1.65;
}

body.wm-site:where(.wm-view-page-login) .login-features-wrap{
    grid-area: features;
    max-width: 610px;
    align-self: start;
}

body.wm-site:where(.wm-view-page-login) .login-features{
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

body.wm-site:where(.wm-view-page-login) .login-features li{
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 48px;
    padding: 12px 14px;
    border-radius: var(--radius-md, 14px);
    background: rgba(35, 34, 32, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.10);
    color: rgba(255, 255, 255, 0.86);
    font-size: 14px;
    line-height: 1.25;
    font-weight: 650;
}

body.wm-site:where(.wm-view-page-login) .login-features li::before{
    content: "";
    width: 18px;
    height: 18px;
    flex: 0 0 auto;
    border-radius: 999px;
    background:
        radial-gradient(circle at center, #ffffff 0 3px, transparent 4px),
        var(--accent, #c4455c);
}

body.wm-site:where(.wm-view-page-login) .login-panel{
    grid-area: panel;
    width: 100%;
}

body.wm-site:where(.wm-view-page-login) .login-card{
    position: relative;
    width: 100%;
    padding: 30px;
    border-radius: var(--radius-xl, 24px);
    background:
        radial-gradient(circle at top right, rgba(196, 69, 92, 0.13), transparent 260px),
        linear-gradient(180deg, rgba(255,255,255,0.055), rgba(255,255,255,0.015)),
        rgba(35, 34, 32, 0.88);
    border: 1px solid rgba(255, 255, 255, 0.11);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

body.wm-site:where(.wm-view-page-login) .login-card::before{
    content: "";
    position: absolute;
    left: 20px;
    right: 20px;
    top: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent, #c4455c), transparent);
    opacity: 0.9;
}

body.wm-site:where(.wm-view-page-login) .login-form-title{
    margin: 0;
    color: #ffffff;
    font-size: 32px;
    line-height: 1.12;
    font-weight: 900;
    letter-spacing: -0.04em;
}

body.wm-site:where(.wm-view-page-login) .login-form-subtitle{
    margin: 10px 0 26px;
    color: rgba(255, 255, 255, 0.62);
    font-size: 14px;
    line-height: 1.55;
}

body.wm-site:where(.wm-view-page-login) .login-form,
body.wm-site:where(.wm-view-page-login) .reset-password-form{
    width: 100%;
}

body.wm-site:where(.wm-view-page-login) .form-group{
    margin-bottom: 18px;
}

body.wm-site:where(.wm-view-page-login) .form-label{
    display: block;
    margin-bottom: 8px;
    color: rgba(255, 255, 255, 0.80);
    font-size: 14px;
    line-height: 1.2;
    font-weight: 750;
}

body.wm-site:where(.wm-view-page-login) .form-input{
    width: 100%;
    height: 48px;
    padding: 0 15px;
    background: rgba(0, 0, 0, 0.24);
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: var(--radius-md, 14px);
    color: #ffffff;
    font-size: 15px;
    outline: none;
    transition: background 0.18s ease, border-color 0.18s ease;
}

body.wm-site:where(.wm-view-page-login) .form-input:focus{
    border-color: rgba(196, 69, 92, 0.78);
    background: rgba(0, 0, 0, 0.34);
}

body.wm-site:where(.wm-view-page-login) .form-input::placeholder{
    color: rgba(255, 255, 255, 0.34);
}

body.wm-site:where(.wm-view-page-login) .password-wrapper{
    position: relative;
}

body.wm-site:where(.wm-view-page-login) .form-input.password-input{
    padding-right: 52px;
}

body.wm-site:where(.wm-view-page-login) .toggle-password{
    position: absolute;
    right: 11px;
    top: 50%;
    width: 34px;
    height: 34px;
    margin-top: -17px;
    padding: 0;
    border: none;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.055);
    color: rgba(255, 255, 255, 0.74);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.18s ease, color 0.18s ease;
}

body.wm-site:where(.wm-view-page-login) .toggle-password:hover{
    background: rgba(196, 69, 92, 0.16);
    color: #ffffff;
}

body.wm-site:where(.wm-view-page-login) .toggle-password svg{
    width: 21px;
    height: 21px;
    display: block;
}

body.wm-site:where(.wm-view-page-login) .login-btn{
    width: 100%;
    min-height: 48px;
    padding: 13px 18px;
    margin-top: 6px;
    background: var(--accent, #c4455c);
    color: #ffffff;
    border: 1px solid var(--accent, #c4455c);
    border-radius: 999px;
    font-size: 15px;
    line-height: 1.2;
    font-weight: 850;
    cursor: pointer;
    transition: background 0.18s ease, border-color 0.18s ease, opacity 0.18s ease;
}

body.wm-site:where(.wm-view-page-login) .login-btn:hover{
    background: var(--accent-hover, #d75970);
    border-color: var(--accent-hover, #d75970);
}

body.wm-site:where(.wm-view-page-login) .alert-error{
    margin-bottom: 20px;
    padding: 14px 16px;
    border-radius: var(--radius-md, 14px);
    background: rgba(251, 113, 133, 0.11);
    border: 1px solid rgba(251, 113, 133, 0.34);
    color: #fb7185;
    font-size: 14px;
    line-height: 1.5;
}

body.wm-site:where(.wm-view-page-login) .alert-error div + div{
    margin-top: 5px;
}

body.wm-site:where(.wm-view-page-login) .remember-me{
    margin: 18px 0 14px;
}

body.wm-site:where(.wm-view-page-login) .checkbox-wrapper{
    display: flex;
    align-items: center;
    gap: 9px;
    color: rgba(255, 255, 255, 0.70);
    font-size: 14px;
    line-height: 1.3;
}

body.wm-site:where(.wm-view-page-login) .remember-checkbox{
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: var(--accent, #c4455c);
}

body.wm-site:where(.wm-view-page-login) .checkbox-wrapper label{
    cursor: pointer;
}

body.wm-site:where(.wm-view-page-login) .forgot-password{
    margin: 0 0 18px;
    text-align: left;
}

body.wm-site:where(.wm-view-page-login) .forgot-password a,
body.wm-site:where(.wm-view-page-login) .reset-back-link{
    color: rgba(255, 255, 255, 0.58);
    font-size: 14px;
    line-height: 1.4;
    text-decoration: none;
}

body.wm-site:where(.wm-view-page-login) .forgot-password a:hover,
body.wm-site:where(.wm-view-page-login) .reset-back-link:hover{
    color: var(--accent-hover, #d75970);
}

body.wm-site:where(.wm-view-page-login) .reset-back-link{
    display: inline-flex;
    margin-top: 16px;
    padding: 0;
    border: 0;
    background: transparent;
    font-family: inherit;
    cursor: pointer;
}

body.wm-site:where(.wm-view-page-login) .login-links{
    margin-top: 22px;
    display: flex;
    flex-direction: column;
    gap: 9px;
    align-items: center;
}

body.wm-site:where(.wm-view-page-login) .login-link{
    margin: 0;
    color: rgba(255, 255, 255, 0.58);
    font-size: 14px;
    line-height: 1.45;
}

body.wm-site:where(.wm-view-page-login) .login-link a{
    color: var(--accent-hover, #d75970);
    font-weight: 800;
    text-decoration: none;
}

body.wm-site:where(.wm-view-page-login) .login-link a:hover{
    color: #ffffff;
}

body.wm-site:where(.wm-view-page-login) .reset-code-inputs{
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 8px;
    margin: 16px 0 4px;
}

body.wm-site:where(.wm-view-page-login) .reset-code-input{
    width: 100%;
    height: 58px;
    text-align: center;
    font-size: 24px;
    font-weight: 850;
    border: 1px solid rgba(255, 255, 255, 0.13);
    background: rgba(0, 0, 0, 0.24);
    border-radius: var(--radius-md, 14px);
    color: #ffffff;
    outline: none;
    transition: background 0.18s ease, border-color 0.18s ease;
}

body.wm-site:where(.wm-view-page-login) .reset-code-input:focus{
    border-color: rgba(196, 69, 92, 0.78);
    background: rgba(0, 0, 0, 0.34);
}

@media (max-width: 1100px) {
    body.wm-site:where(.wm-view-page-login) .login-page{
        padding: 34px 16px 46px;
        background:
            linear-gradient(180deg, rgba(26, 26, 26, 0.70) 0%, rgba(26, 26, 26, 0.88) 42%, #1a1a1a 100%),
            radial-gradient(circle at 20% 30%, rgba(196, 69, 92, 0.22), transparent 320px),
            url('/wp-content/uploads/2025/12/i-2.webp');
        background-size: cover;
        background-position: center;
    }

    body.wm-site:where(.wm-view-page-login) .login-inner{
        min-height: 0;
        grid-template-columns: 1fr;
        grid-template-areas:
            "hero"
            "panel"
            "features";
        gap: 24px;
    }

    body.wm-site:where(.wm-view-page-login) .login-panel{
        max-width: 520px;
    }
}

@media (max-width: 768px) {
    body.wm-site:where(.wm-view-page-login) .login-page{
        padding: 24px 14px 42px;
    }

    body.wm-site:where(.wm-view-page-login) .login-inner{
        display: grid;
        grid-template-columns: 1fr;
        grid-template-areas:
            "hero"
            "panel"
            "features";
        gap: 22px;
    }

    body.wm-site:where(.wm-view-page-login) .login-hero{
        max-width: 100%;
        padding: 0;
        text-align: left;
    }

    body.wm-site:where(.wm-view-page-login) .login-panel{
        max-width: 100%;
        width: 100%;
    }

    body.wm-site:where(.wm-view-page-login) .login-features-wrap{
        max-width: 100%;
    }

    body.wm-site:where(.wm-view-page-login) .login-title{
        font-size: 34px;
        line-height: 1;
        letter-spacing: -0.05em;
    }

    body.wm-site:where(.wm-view-page-login) .login-subtitle{
        margin-top: 16px;
        font-size: 15px;
        line-height: 1.6;
    }

    body.wm-site:where(.wm-view-page-login) .login-features{
        grid-template-columns: 1fr;
        gap: 10px;
    }

    body.wm-site:where(.wm-view-page-login) .login-card{
        padding: 24px 18px;
        border-radius: var(--radius-lg, 20px);
    }

    body.wm-site:where(.wm-view-page-login) .login-form-title{
        font-size: 28px;
    }

    body.wm-site:where(.wm-view-page-login) .reset-code-inputs{
        gap: 6px;
    }

    body.wm-site:where(.wm-view-page-login) .reset-code-input{
        height: 54px;
        font-size: 22px;
        border-radius: var(--radius-sm, 10px);
    }
}

@media (max-width: 480px) {
    body.wm-site:where(.wm-view-page-login) .login-page{
        padding-left: 10px;
        padding-right: 10px;
    }

    body.wm-site:where(.wm-view-page-login) .login-title{
        font-size: 30px;
    }

    body.wm-site:where(.wm-view-page-login) .login-kicker{
        font-size: 12px;
    }

    body.wm-site:where(.wm-view-page-login) .login-card{
        padding: 22px 14px;
    }

    body.wm-site:where(.wm-view-page-login) .form-input{
        height: 46px;
        border-radius: var(--radius-sm, 10px);
    }

    body.wm-site:where(.wm-view-page-login) .login-btn{
        border-radius: var(--radius-md, 14px);
    }

    body.wm-site:where(.wm-view-page-login) .reset-code-input{
        height: 48px;
        font-size: 20px;
    }
}
/* ========== КОНЕЦ: Шаблон: page-login ========== */



/* ========== НАЧАЛО: Шаблон: page-messenger ========== */
/* ============================================================
   MESSENGER — TELEGRAM-LAYOUT FIX
   Поле ввода всегда снизу
   Скролл только у диалога
   border-radius: 7px
   Без transform
============================================================ */

body.wm-site:where(.wm-view-page-messenger){
    --wm-bg: #171615;
    --wm-card: #232220;
    --wm-card-2: #2c2b28;
    --wm-card-3: #191817;
    --wm-header: #1f1e1c;
    --wm-border: rgba(255, 255, 255, 0.1);
    --wm-border-strong: rgba(255, 255, 255, 0.18);
    --wm-text: #ffffff;
    --wm-muted: rgba(255, 255, 255, 0.66);
    --wm-muted-2: rgba(255, 255, 255, 0.42);
    --wm-accent: #c4455c;
    --wm-accent-hover: #d15a71;
    --wm-accent-dark: #9f3246;
    --wm-green: #22c55e;
    --wm-red: #ef4444;
    --wm-radius: 7px;
}

body.wm-site:where(.wm-view-page-messenger) .wm-messenger-page{
    background: transparent;
    padding: 0;
}

body.wm-site:where(.wm-view-page-messenger) button,
body.wm-site:where(.wm-view-page-messenger) textarea,
body.wm-site:where(.wm-view-page-messenger) input{
    font-family: inherit;
}

body.wm-site:where(.wm-view-page-messenger) button{
    cursor: pointer;
}

body.wm-site:where(.wm-view-page-messenger) button:disabled{
    opacity: 0.55;
    cursor: not-allowed;
}

body.wm-site:where(.wm-view-page-messenger) a{
    color: var(--wm-accent);
    transition: 0.2s ease;
}

body.wm-site:where(.wm-view-page-messenger) a:hover{
    color: var(--wm-accent-hover);
}

/* ============================================================
   ГЛАВНЫЙ КОНТЕЙНЕР
============================================================ */

body.wm-site:where(.wm-view-page-messenger) .messenger-wrapper{
    width: min(1350px, calc(100% - 32px));
    height: calc(100vh - 130px);
    min-height: 620px;
    margin: 24px auto 50px;
    display: grid;
    grid-template-columns: 360px minmax(0, 1fr);
    background:
        linear-gradient(180deg, rgba(255,255,255,0.055), rgba(255,255,255,0.018)),
        var(--wm-card);
    border: 1px solid var(--wm-border);
    border-radius: var(--wm-radius);
    overflow: hidden;
}

/* ============================================================
   ЛЕВАЯ КОЛОНКА
============================================================ */

body.wm-site:where(.wm-view-page-messenger) .messenger-sidebar{
    min-width: 0;
    height: 100%;
    display: grid;
    grid-template-rows: auto auto minmax(0, 1fr);
    background: #1d1c1a;
    border-right: 1px solid var(--wm-border);
    overflow: hidden;
}

body.wm-site:where(.wm-view-page-messenger) .messenger-my-profile{
    min-height: 88px;
    padding: 14px;
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--wm-header);
    border-bottom: 1px solid var(--wm-border);
}

body.wm-site:where(.wm-view-page-messenger) .messenger-my-profile__avatar-form{
    flex-shrink: 0;
}

body.wm-site:where(.wm-view-page-messenger) .avatar-upload{
    display: block;
    position: relative;
    cursor: pointer;
}

body.wm-site:where(.wm-view-page-messenger) .avatar-wrapper{
    position: relative;
    width: 56px;
    height: 56px;
    overflow: hidden;
    background: var(--wm-card-3);
    border: 1px solid var(--wm-border-strong);
    border-radius: var(--wm-radius);
}

body.wm-site:where(.wm-view-page-messenger) .avatar-wrapper img{
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

body.wm-site:where(.wm-view-page-messenger) .avatar-overlay{
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.62);
    opacity: 0;
    transition: opacity 0.2s ease;
}

body.wm-site:where(.wm-view-page-messenger) .avatar-upload:hover .avatar-overlay{
    opacity: 1;
}

body.wm-site:where(.wm-view-page-messenger) #messenger-avatar-file{
    display: none;
}

body.wm-site:where(.wm-view-page-messenger) .messenger-my-profile__info{
    min-width: 0;
    flex: 1;
}

body.wm-site:where(.wm-view-page-messenger) .messenger-my-profile__name{
    margin-bottom: 4px;
    color: #ffffff;
    font-size: 15px;
    line-height: 1.25;
    font-weight: 900;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

body.wm-site:where(.wm-view-page-messenger) .messenger-my-profile__id{
    color: var(--wm-muted);
    font-size: 12px;
    line-height: 1.25;
    font-weight: 700;
}

body.wm-site:where(.wm-view-page-messenger) #messenger-avatar-status{
    min-height: 15px;
    margin-top: 5px;
    color: var(--wm-muted);
    font-size: 12px;
    line-height: 1.25;
}

body.wm-site:where(.wm-view-page-messenger) #messenger-avatar-status.success{
    color: var(--wm-green);
}

body.wm-site:where(.wm-view-page-messenger) #messenger-avatar-status.error{
    color: var(--wm-red);
}

body.wm-site:where(.wm-view-page-messenger) .sidebar-header{
    padding: 15px;
    background: #1d1c1a;
    border-bottom: 1px solid var(--wm-border);
}

body.wm-site:where(.wm-view-page-messenger) .sidebar-header h3{
    margin: 0;
    color: #ffffff;
    font-size: 22px;
    line-height: 1.15;
    font-weight: 900;
    letter-spacing: -0.03em;
}

body.wm-site:where(.wm-view-page-messenger) .sidebar-header p{
    margin: 5px 0 0;
    color: var(--wm-muted);
    font-size: 13px;
    line-height: 1.3;
}

body.wm-site:where(.wm-view-page-messenger) .users-list{
    min-height: 0;
    overflow-y: auto;
    padding: 8px;
}

body.wm-site:where(.wm-view-page-messenger) .users-list::-webkit-scrollbar,
body.wm-site:where(.wm-view-page-messenger) .messages-container::-webkit-scrollbar{
    width: 7px;
}

body.wm-site:where(.wm-view-page-messenger) .users-list::-webkit-scrollbar-track,
body.wm-site:where(.wm-view-page-messenger) .messages-container::-webkit-scrollbar-track{
    background: rgba(255,255,255,0.04);
}

body.wm-site:where(.wm-view-page-messenger) .users-list::-webkit-scrollbar-thumb,
body.wm-site:where(.wm-view-page-messenger) .messages-container::-webkit-scrollbar-thumb{
    background: rgba(196,69,92,0.45);
    border-radius: var(--wm-radius);
}

body.wm-site:where(.wm-view-page-messenger) .loading-users{
    padding: 44px 18px;
    color: var(--wm-muted);
    font-size: 14px;
    text-align: center;
}

/* ============================================================
   ЭЛЕМЕНТ ЧАТА СЛЕВА
============================================================ */

body.wm-site:where(.wm-view-page-messenger) .user-item,
body.wm-site:where(.wm-view-page-messenger) .user-list-item{
    position: relative;
    min-height: 68px;
    margin-bottom: 5px;
    padding: 10px;
    display: flex;
    align-items: center;
    gap: 11px;
    background: transparent;
    border: 1px solid transparent;
    border-radius: var(--wm-radius);
    cursor: pointer;
    transition: 0.2s ease;
}

body.wm-site:where(.wm-view-page-messenger) .user-item:hover,
body.wm-site:where(.wm-view-page-messenger) .user-list-item:hover{
    background: rgba(255,255,255,0.045);
    border-color: var(--wm-border);
}

body.wm-site:where(.wm-view-page-messenger) .user-item.active,
body.wm-site:where(.wm-view-page-messenger) .user-list-item.active{
    background: rgba(196,69,92,0.14);
    border-color: rgba(196,69,92,0.5);
}

body.wm-site:where(.wm-view-page-messenger) .user-avatar,
body.wm-site:where(.wm-view-page-messenger) .user-avatar-wrap{
    position: relative;
    width: 48px;
    height: 48px;
    min-width: 48px;
    overflow: hidden;
    background: var(--wm-card-3);
    border: 1px solid var(--wm-border-strong);
    border-radius: var(--wm-radius);
}

body.wm-site:where(.wm-view-page-messenger) .user-avatar img,
body.wm-site:where(.wm-view-page-messenger) .user-avatar-wrap img{
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

body.wm-site:where(.wm-view-page-messenger) .user-info{
    min-width: 0;
    flex: 1;
}

body.wm-site:where(.wm-view-page-messenger) .user-name,
body.wm-site:where(.wm-view-page-messenger) .user-list-name{
    display: block;
    margin-bottom: 4px;
    color: #ffffff;
    font-size: 14px;
    line-height: 1.25;
    font-weight: 900;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

body.wm-site:where(.wm-view-page-messenger) .user-last-message{
    display: block;
    color: var(--wm-muted);
    font-size: 13px;
    line-height: 1.25;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

body.wm-site:where(.wm-view-page-messenger) .user-time{
    color: var(--wm-muted-2);
    font-size: 11px;
    line-height: 1.2;
    margin-top: 3px;
}

body.wm-site:where(.wm-view-page-messenger) .user-unread,
body.wm-site:where(.wm-view-page-messenger) .user-unread-badge{
    min-width: 21px;
    min-height: 21px;
    padding: 2px 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--wm-accent);
    border-radius: var(--wm-radius);
    color: #ffffff;
    font-size: 11px;
    line-height: 1;
    font-weight: 900;
}

body.wm-site:where(.wm-view-page-messenger) .user-unread-badge{
    position: absolute;
    top: 6px;
    right: 6px;
}

/* ============================================================
   ПРАВАЯ КОЛОНКА — ВАЖНО
   3 зоны: header / messages scroll / input
============================================================ */

body.wm-site:where(.wm-view-page-messenger) .messenger-content{
    min-width: 0;
    height: 100%;
    min-height: 0;
    display: grid;
    grid-template-rows: 76px minmax(0, 1fr) auto;
    background:
        radial-gradient(circle at top right, rgba(196, 69, 92, 0.08), transparent 380px),
        #171615;
    overflow: hidden;
}

/* ============================================================
   ШАПКА ЧАТА
============================================================ */

body.wm-site:where(.wm-view-page-messenger) .chat-header{
    height: 76px;
    min-height: 76px;
    padding: 14px 20px;
    display: flex;
    align-items: center;
    background: var(--wm-header);
    border-bottom: 1px solid var(--wm-border);
    overflow: hidden;
}

body.wm-site:where(.wm-view-page-messenger) #messenger-chat-with{
    width: 100%;
    min-width: 0;
}

body.wm-site:where(.wm-view-page-messenger) .chat-with-default,
body.wm-site:where(.wm-view-page-messenger) .chat-with-user{
    display: flex;
    align-items: center;
    gap: 13px;
    min-width: 0;
}

body.wm-site:where(.wm-view-page-messenger) .chat-header-icon{
    width: 42px;
    height: 42px;
    min-width: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.06);
    border: 1px solid var(--wm-border);
    border-radius: var(--wm-radius);
    color: var(--wm-muted);
}

body.wm-site:where(.wm-view-page-messenger) .chat-with-default span{
    display: block;
    color: #ffffff;
    font-size: 16px;
    line-height: 1.25;
    font-weight: 900;
}

body.wm-site:where(.wm-view-page-messenger) .chat-with-default small{
    display: block;
    margin-top: 3px;
    color: var(--wm-muted);
    font-size: 12px;
    line-height: 1.25;
}

body.wm-site:where(.wm-view-page-messenger) .user-avatar-small{
    width: 46px;
    height: 46px;
    min-width: 46px;
    overflow: hidden;
    background: var(--wm-card-3);
    border: 1px solid var(--wm-border-strong);
    border-radius: var(--wm-radius);
}

body.wm-site:where(.wm-view-page-messenger) .user-avatar-small img{
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

body.wm-site:where(.wm-view-page-messenger) .user-info .user-name{
    margin-bottom: 3px;
    color: #ffffff;
    font-size: 16px;
    line-height: 1.25;
    font-weight: 900;
}

body.wm-site:where(.wm-view-page-messenger) .user-info .user-status{
    color: var(--wm-muted);
    font-size: 13px;
    line-height: 1.25;
}

/* старый отдельный профиль скрываем */
body.wm-site:where(.wm-view-page-messenger) .user-profile{
    display: none;
}

/* ============================================================
   СООБЩЕНИЯ — СКРОЛЛ ТОЛЬКО ТУТ
============================================================ */

body.wm-site:where(.wm-view-page-messenger) .messages-container{
    min-height: 0;
    height: 100%;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 22px;
    background:
        radial-gradient(circle at top left, rgba(255,255,255,0.035), transparent 340px),
        #171615;
}

body.wm-site:where(.wm-view-page-messenger) .messages-box{
    min-height: 100%;
    display: flex;
    flex-direction: column;
}

body.wm-site:where(.wm-view-page-messenger) .empty-chat{
    min-height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--wm-muted-2);
    text-align: center;
}

body.wm-site:where(.wm-view-page-messenger) .empty-chat__icon{
    width: 86px;
    height: 86px;
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.045);
    border: 1px solid var(--wm-border);
    border-radius: var(--wm-radius);
    color: var(--wm-muted);
}

body.wm-site:where(.wm-view-page-messenger) .empty-chat p{
    margin: 0;
    color: var(--wm-muted);
    font-size: 15px;
    line-height: 1.5;
}

/* ============================================================
   СООБЩЕНИЯ
============================================================ */

body.wm-site:where(.wm-view-page-messenger) .message-item{
    max-width: 72%;
    margin-bottom: 12px;
    display: flex;
    flex-direction: column;
}

body.wm-site:where(.wm-view-page-messenger) .message-item.me{
    align-self: flex-end;
    align-items: flex-end;
}

body.wm-site:where(.wm-view-page-messenger) .message-item:not(.me){
    align-self: flex-start;
    align-items: flex-start;
}

body.wm-site:where(.wm-view-page-messenger) .message-avatar{
    width: 32px;
    height: 32px;
    margin-bottom: 6px;
    overflow: hidden;
    background: var(--wm-card-3);
    border: 1px solid var(--wm-border);
    border-radius: var(--wm-radius);
}

body.wm-site:where(.wm-view-page-messenger) .message-avatar img{
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

body.wm-site:where(.wm-view-page-messenger) .message-body{
    position: relative;
    padding: 11px 14px;
    background: rgba(255,255,255,0.08);
    border: 1px solid var(--wm-border);
    border-radius: var(--wm-radius);
    color: #ffffff;
    font-size: 14px;
    line-height: 1.55;
    word-wrap: break-word;
}

body.wm-site:where(.wm-view-page-messenger) .message-item.me .message-body{
    background: linear-gradient(135deg, var(--wm-accent), var(--wm-accent-dark));
    border-color: rgba(196,69,92,0.45);
    color: #ffffff;
}

body.wm-site:where(.wm-view-page-messenger) .message-item:not(.me) .message-body{
    background: rgba(255,255,255,0.08);
    border-color: rgba(255,255,255,0.12);
}

body.wm-site:where(.wm-view-page-messenger) .message-text{
    margin-bottom: 4px;
}

body.wm-site:where(.wm-view-page-messenger) .message-time{
    margin-top: 5px;
    color: rgba(255,255,255,0.58);
    font-size: 11px;
    line-height: 1.2;
    text-align: right;
}

body.wm-site:where(.wm-view-page-messenger) .message-delete{
    position: absolute;
    top: 5px;
    right: 5px;
    width: 22px;
    height: 22px;
    background: rgba(0,0,0,0.35);
    border: 0;
    border-radius: var(--wm-radius);
    color: #ffffff;
    font-size: 11px;
    line-height: 1;
    opacity: 0;
    transition: opacity 0.2s ease, background 0.2s ease;
}

body.wm-site:where(.wm-view-page-messenger) .message-body:hover .message-delete{
    opacity: 1;
}

body.wm-site:where(.wm-view-page-messenger) .message-delete:hover{
    background: rgba(239,68,68,0.85);
}

/* ============================================================
   ФАЙЛЫ
============================================================ */

body.wm-site:where(.wm-view-page-messenger) .message-file{
    max-width: 320px;
    margin: 8px 0;
    padding: 12px;
    background: rgba(0,0,0,0.18);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: var(--wm-radius);
}

body.wm-site:where(.wm-view-page-messenger) .message-file.image-file{
    padding: 0;
    background: transparent;
    border: 0;
}

body.wm-site:where(.wm-view-page-messenger) .file-link{
    display: block;
    text-decoration: none;
}

body.wm-site:where(.wm-view-page-messenger) .file-preview{
    max-width: 100%;
    max-height: 240px;
    display: block;
    margin-bottom: 8px;
    cursor: pointer;
    border: 1px solid var(--wm-border);
    border-radius: var(--wm-radius);
    transition: opacity 0.2s ease;
}

body.wm-site:where(.wm-view-page-messenger) .file-preview:hover{
    opacity: 0.88;
}

body.wm-site:where(.wm-view-page-messenger) .file-icon{
    margin-bottom: 8px;
    color: var(--wm-muted);
    text-align: center;
}

body.wm-site:where(.wm-view-page-messenger) .file-icon svg{
    width: 34px;
    height: 34px;
}

body.wm-site:where(.wm-view-page-messenger) .file-info{
    display: flex;
    flex-direction: column;
    gap: 4px;
}

body.wm-site:where(.wm-view-page-messenger) .file-name{
    color: #ffffff;
    font-size: 14px;
    line-height: 1.35;
    font-weight: 800;
    word-break: break-word;
}

body.wm-site:where(.wm-view-page-messenger) .file-download{
    color: var(--wm-accent-hover);
    font-size: 13px;
    text-decoration: none;
    transition: 0.2s ease;
}

body.wm-site:where(.wm-view-page-messenger) .file-download:hover{
    color: #ffffff;
    text-decoration: underline;
}

/* ============================================================
   ПОЛЕ ВВОДА — ВСЕГДА СНИЗУ
============================================================ */

body.wm-site:where(.wm-view-page-messenger) .message-input-container{
    min-height: 76px;
    padding: 14px 18px;
    background: var(--wm-header);
    border-top: 1px solid var(--wm-border);
    position: relative;
    z-index: 1;
}

body.wm-site:where(.wm-view-page-messenger) .messenger-wrapper,
body.wm-site:where(.wm-view-page-messenger) .messenger-sidebar,
body.wm-site:where(.wm-view-page-messenger) .messenger-content,
body.wm-site:where(.wm-view-page-messenger) .chat-header,
body.wm-site:where(.wm-view-page-messenger) .messages-container,
body.wm-site:where(.wm-view-page-messenger) .message-input-container{
    position: relative;
    z-index: 1;
}

body.wm-site:where(.wm-view-page-messenger) .input-wrapper{
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr) 42px;
    align-items: end;
    gap: 10px;
    padding: 8px;
    background: rgba(255,255,255,0.06);
    border: 1px solid var(--wm-border-strong);
    border-radius: var(--wm-radius);
}

body.wm-site:where(.wm-view-page-messenger) .input-wrapper:focus-within{
    border-color: rgba(196,69,92,0.62);
    background: rgba(255,255,255,0.08);
}

body.wm-site:where(.wm-view-page-messenger) .input-tools{
    display: flex;
    align-items: center;
}

body.wm-site:where(.wm-view-page-messenger) .file-toggle{
    width: 42px;
    height: 42px;
    padding: 0;
    background: transparent;
    border: 1px solid transparent;
    border-radius: var(--wm-radius);
    color: var(--wm-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.2s ease;
}

body.wm-site:where(.wm-view-page-messenger) .file-toggle:hover{
    color: #ffffff;
    background: rgba(255,255,255,0.08);
    border-color: var(--wm-border);
}

body.wm-site:where(.wm-view-page-messenger) #messenger-message-text{
    width: 100%;
    min-height: 42px;
    max-height: 120px;
    padding: 10px 0;
    resize: none;
    background: transparent;
    border: 0;
    color: #ffffff;
    font-size: 14px;
    line-height: 1.5;
    overflow-y: auto;
}

body.wm-site:where(.wm-view-page-messenger) #messenger-message-text:focus{
    outline: none;
}

body.wm-site:where(.wm-view-page-messenger) #messenger-message-text::placeholder{
    color: var(--wm-muted-2);
}

body.wm-site:where(.wm-view-page-messenger) .send-button{
    width: 42px;
    height: 42px;
    min-width: 42px;
    padding: 0;
    background: linear-gradient(135deg, var(--wm-accent), var(--wm-accent-dark));
    border: 0;
    border-radius: var(--wm-radius);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.2s ease;
}

body.wm-site:where(.wm-view-page-messenger) .send-button:hover{
    background: linear-gradient(135deg, var(--wm-accent-hover), var(--wm-accent));
}

body.wm-site:where(.wm-view-page-messenger) .send-button:disabled{
    background: rgba(255,255,255,0.12);
    color: var(--wm-muted);
}

body.wm-site:where(.wm-view-page-messenger) #messenger-send-status{
    min-height: 17px;
    margin-top: 8px;
    color: var(--wm-muted);
    font-size: 13px;
    line-height: 1.35;
    text-align: center;
}

/* ============================================================
   СОСТОЯНИЯ
============================================================ */

body.wm-site:where(.wm-view-page-messenger) .loading{
    opacity: 0.6;
    cursor: wait;
}

body.wm-site:where(.wm-view-page-messenger) .error{
    color: var(--wm-red) !important;
}

body.wm-site:where(.wm-view-page-messenger) .success{
    color: var(--wm-green) !important;
}

/* ============================================================
   АДАПТИВ
============================================================ */

@media (max-width: 1100px) {
    body.wm-site:where(.wm-view-page-messenger) .messenger-wrapper{
        width: calc(100% - 24px);
        height: calc(100vh - 110px);
        min-height: 620px;
        grid-template-columns: 1fr;
        grid-template-rows: 300px minmax(0, 1fr);
    }

    body.wm-site:where(.wm-view-page-messenger) .messenger-sidebar{
        height: 300px;
        border-right: 0;
        border-bottom: 1px solid var(--wm-border);
    }

    body.wm-site:where(.wm-view-page-messenger) .messenger-content{
        min-height: 0;
    }
}

@media (max-width: 768px) {
    body.wm-site:where(.wm-view-page-messenger) .messenger-wrapper{
        width: calc(100% - 16px);
        height: calc(100vh - 90px);
        min-height: 560px;
        margin-top: 12px;
        margin-bottom: 30px;
        grid-template-rows: 260px minmax(0, 1fr);
    }

    body.wm-site:where(.wm-view-page-messenger) .messenger-sidebar{
        height: 260px;
    }

    body.wm-site:where(.wm-view-page-messenger) .messenger-my-profile{
        min-height: 78px;
        padding: 11px;
    }

    body.wm-site:where(.wm-view-page-messenger) .avatar-wrapper{
        width: 50px;
        height: 50px;
    }

    body.wm-site:where(.wm-view-page-messenger) .sidebar-header,
body.wm-site:where(.wm-view-page-messenger) .chat-header,
body.wm-site:where(.wm-view-page-messenger) .messages-container,
body.wm-site:where(.wm-view-page-messenger) .message-input-container{
        padding: 12px;
    }

    body.wm-site:where(.wm-view-page-messenger) .chat-header{
        height: 70px;
        min-height: 70px;
    }

    body.wm-site:where(.wm-view-page-messenger) .messenger-content{
        grid-template-rows: 70px minmax(0, 1fr) auto;
    }

    body.wm-site:where(.wm-view-page-messenger) .sidebar-header h3{
        font-size: 20px;
    }

    body.wm-site:where(.wm-view-page-messenger) .message-item{
        max-width: 88%;
    }

    body.wm-site:where(.wm-view-page-messenger) .messages-container{
        padding: 14px;
    }

    body.wm-site:where(.wm-view-page-messenger) .input-wrapper{
        grid-template-columns: 38px minmax(0, 1fr) 38px;
        gap: 7px;
        padding: 7px;
    }

    body.wm-site:where(.wm-view-page-messenger) .file-toggle,
body.wm-site:where(.wm-view-page-messenger) .send-button{
        width: 38px;
        height: 38px;
        min-width: 38px;
    }

    body.wm-site:where(.wm-view-page-messenger) #messenger-message-text{
        min-height: 38px;
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    body.wm-site:where(.wm-view-page-messenger) .messenger-wrapper{
        width: calc(100% - 10px);
        height: calc(100vh - 80px);
        min-height: 520px;
        margin-top: 8px;
        grid-template-rows: 240px minmax(0, 1fr);
    }

    body.wm-site:where(.wm-view-page-messenger) .messenger-sidebar{
        height: 240px;
    }

    body.wm-site:where(.wm-view-page-messenger) .messenger-my-profile__name{
        font-size: 14px;
    }

    body.wm-site:where(.wm-view-page-messenger) .user-item,
body.wm-site:where(.wm-view-page-messenger) .user-list-item{
        min-height: 60px;
        padding: 8px;
    }

    body.wm-site:where(.wm-view-page-messenger) .user-avatar,
body.wm-site:where(.wm-view-page-messenger) .user-avatar-wrap{
        width: 42px;
        height: 42px;
        min-width: 42px;
    }

    body.wm-site:where(.wm-view-page-messenger) .chat-with-default small{
        display: none;
    }

    body.wm-site:where(.wm-view-page-messenger) .message-item{
        max-width: 100%;
    }

    body.wm-site:where(.wm-view-page-messenger) .message-file{
        max-width: 260px;
    }

    body.wm-site:where(.wm-view-page-messenger) .empty-chat__icon{
        width: 72px;
        height: 72px;
    }
}
/* ========== КОНЕЦ: Шаблон: page-messenger ========== */



/* ========== НАЧАЛО: Шаблон: page-register ========== */
body.wm-site:where(.wm-view-page-register) .register-page{
    position: relative;
    min-height: calc(100vh - 80px);
    padding: 56px 20px;
    background:
        linear-gradient(90deg, rgba(26, 26, 26, 0.72) 0%, rgba(26, 26, 26, 0.76) 38%, rgba(26, 26, 26, 0.96) 72%, #1a1a1a 100%),
        radial-gradient(circle at 20% 30%, rgba(196, 69, 92, 0.26), transparent 340px),
        url('/wp-content/uploads/2025/12/i-2.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
}

body.wm-site:where(.wm-view-page-register) .register-page::before{
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at top right, rgba(196, 69, 92, 0.16), transparent 420px),
        linear-gradient(180deg, rgba(26, 26, 26, 0.16), #1a1a1a 118%);
    pointer-events: none;
}

body.wm-site:where(.wm-view-page-register) .register-page::after{
    content: "MIRACLE";
    position: absolute;
    left: 50%;
    bottom: 34px;
    z-index: 0;
    width: 100%;
    text-align: center;
    color: rgba(255, 255, 255, 0.035);
    font-size: clamp(58px, 12vw, 170px);
    line-height: 1;
    font-weight: 950;
    letter-spacing: 12px;
    pointer-events: none;
}

body.wm-site:where(.wm-view-page-register) .register-inner{
    position: relative;
    z-index: 2;
    max-width: 1350px;
    min-height: 720px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 460px;
    grid-template-areas:
        "hero panel"
        "features panel";
    gap: 26px 44px;
    align-items: center;
}

body.wm-site:where(.wm-view-page-register) .register-hero{
    grid-area: hero;
    max-width: 650px;
    padding: 24px 0 0;
}

body.wm-site:where(.wm-view-page-register) .register-kicker{
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 7px 13px;
    margin-bottom: 20px;
    border-radius: 999px;
    background: rgba(196, 69, 92, 0.16);
    border: 1px solid rgba(196, 69, 92, 0.38);
    color: var(--accent-hover, #d75970);
    font-size: 13px;
    line-height: 1;
    font-weight: 850;
    letter-spacing: 0.4px;
    text-transform: uppercase;
}

body.wm-site:where(.wm-view-page-register) .register-title{
    max-width: 700px;
    margin: 0;
    color: #ffffff;
    font-size: clamp(42px, 5vw, 74px);
    line-height: 0.96;
    font-weight: 950;
    letter-spacing: -0.07em;
}

body.wm-site:where(.wm-view-page-register) .register-title span{
    color: var(--accent-hover, #d75970);
}

body.wm-site:where(.wm-view-page-register) .register-subtitle{
    max-width: 560px;
    margin: 24px 0 0;
    color: rgba(255, 255, 255, 0.76);
    font-size: 17px;
    line-height: 1.65;
}

body.wm-site:where(.wm-view-page-register) .register-features-wrap{
    grid-area: features;
    max-width: 610px;
    align-self: start;
}

body.wm-site:where(.wm-view-page-register) .register-features{
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

body.wm-site:where(.wm-view-page-register) .register-features li{
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 48px;
    padding: 12px 14px;
    border-radius: var(--radius-md, 14px);
    background: rgba(35, 34, 32, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.10);
    color: rgba(255, 255, 255, 0.86);
    font-size: 14px;
    line-height: 1.25;
    font-weight: 650;
}

body.wm-site:where(.wm-view-page-register) .register-features li::before{
    content: "";
    width: 18px;
    height: 18px;
    flex: 0 0 auto;
    border-radius: 999px;
    background:
        radial-gradient(circle at center, #ffffff 0 3px, transparent 4px),
        var(--accent, #c4455c);
}

body.wm-site:where(.wm-view-page-register) .register-panel{
    grid-area: panel;
    width: 100%;
}

body.wm-site:where(.wm-view-page-register) .register-card{
    position: relative;
    width: 100%;
    padding: 30px;
    border-radius: var(--radius-xl, 24px);
    background:
        radial-gradient(circle at top right, rgba(196, 69, 92, 0.13), transparent 260px),
        linear-gradient(180deg, rgba(255,255,255,0.055), rgba(255,255,255,0.015)),
        rgba(35, 34, 32, 0.88);
    border: 1px solid rgba(255, 255, 255, 0.11);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

body.wm-site:where(.wm-view-page-register) .register-card::before{
    content: "";
    position: absolute;
    left: 20px;
    right: 20px;
    top: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent, #c4455c), transparent);
    opacity: 0.9;
}

body.wm-site:where(.wm-view-page-register) .register-form-title{
    margin: 0;
    color: #ffffff;
    font-size: 32px;
    line-height: 1.12;
    font-weight: 900;
    letter-spacing: -0.04em;
}

body.wm-site:where(.wm-view-page-register) .register-form-subtitle{
    margin: 10px 0 26px;
    color: rgba(255, 255, 255, 0.62);
    font-size: 14px;
    line-height: 1.55;
}

body.wm-site:where(.wm-view-page-register) .register-form{
    width: 100%;
}

body.wm-site:where(.wm-view-page-register) .form-group{
    margin-bottom: 18px;
}

body.wm-site:where(.wm-view-page-register) .form-label{
    display: block;
    margin-bottom: 8px;
    color: rgba(255, 255, 255, 0.80);
    font-size: 14px;
    line-height: 1.2;
    font-weight: 750;
}

body.wm-site:where(.wm-view-page-register) .form-input{
    width: 100%;
    height: 48px;
    padding: 0 15px;
    background: rgba(0, 0, 0, 0.24);
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: var(--radius-md, 14px);
    color: #ffffff;
    font-size: 15px;
    outline: none;
    transition: background 0.18s ease, border-color 0.18s ease;
}

body.wm-site:where(.wm-view-page-register) .form-input:focus{
    border-color: rgba(196, 69, 92, 0.78);
    background: rgba(0, 0, 0, 0.34);
}

body.wm-site:where(.wm-view-page-register) .form-input::placeholder{
    color: rgba(255, 255, 255, 0.34);
}

body.wm-site:where(.wm-view-page-register) .submit-btn{
    width: 100%;
    min-height: 48px;
    padding: 13px 18px;
    margin-top: 6px;
    background: var(--accent, #c4455c);
    color: #ffffff;
    border: 1px solid var(--accent, #c4455c);
    border-radius: 999px;
    font-size: 15px;
    line-height: 1.2;
    font-weight: 850;
    cursor: pointer;
    transition: background 0.18s ease, border-color 0.18s ease, opacity 0.18s ease;
}

body.wm-site:where(.wm-view-page-register) .submit-btn:hover{
    background: var(--accent-hover, #d75970);
    border-color: var(--accent-hover, #d75970);
}

body.wm-site:where(.wm-view-page-register) .register-link{
    margin: 22px 0 0;
    text-align: center;
    color: rgba(255, 255, 255, 0.58);
    font-size: 14px;
    line-height: 1.45;
}

body.wm-site:where(.wm-view-page-register) .register-link a{
    color: var(--accent-hover, #d75970);
    font-weight: 800;
    text-decoration: none;
}

body.wm-site:where(.wm-view-page-register) .register-link a:hover{
    color: #ffffff;
}

body.wm-site:where(.wm-view-page-register) .alert-error,
body.wm-site:where(.wm-view-page-register) .alert-success{
    margin-bottom: 20px;
    padding: 14px 16px;
    border-radius: var(--radius-md, 14px);
    font-size: 14px;
    line-height: 1.5;
}

body.wm-site:where(.wm-view-page-register) .alert-error{
    background: rgba(251, 113, 133, 0.11);
    border: 1px solid rgba(251, 113, 133, 0.34);
    color: #fb7185;
}

body.wm-site:where(.wm-view-page-register) .alert-success{
    background: rgba(91, 191, 58, 0.11);
    border: 1px solid rgba(91, 191, 58, 0.34);
    color: #7dd957;
}

body.wm-site:where(.wm-view-page-register) .alert-error div + div{
    margin-top: 5px;
}

body.wm-site:where(.wm-view-page-register) .verification-note{
    margin: 14px 0 0;
    padding: 14px;
    border-radius: var(--radius-md, 14px);
    background: rgba(255, 255, 255, 0.045);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.66);
    font-size: 13px;
    text-align: center;
    line-height: 1.55;
}

body.wm-site:where(.wm-view-page-register) .verification-note strong{
    color: #ffffff;
}

body.wm-site:where(.wm-view-page-register) .code-input{
    height: 58px;
    letter-spacing: 8px;
    font-size: 24px;
    text-align: center;
    font-weight: 800;
}

body.wm-site:where(.wm-view-page-register) .back-link{
    display: inline-flex;
    margin-top: 16px;
    padding: 0;
    border: 0;
    background: transparent;
    color: rgba(255, 255, 255, 0.58);
    text-decoration: none;
    font-family: inherit;
    font-size: 14px;
    line-height: 1.4;
    cursor: pointer;
}

body.wm-site:where(.wm-view-page-register) .back-link:hover{
    color: var(--accent-hover, #d75970);
}

body.wm-site:where(.wm-view-page-register) .form-label-with-hint{
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

body.wm-site:where(.wm-view-page-register) .hint-icon{
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 19px;
    height: 19px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.22);
    color: rgba(255, 255, 255, 0.72);
    font-size: 12px;
    line-height: 1;
    cursor: help;
    user-select: none;
    transition: border-color 0.18s ease, color 0.18s ease, background 0.18s ease;
}

body.wm-site:where(.wm-view-page-register) .hint-icon::before{
    content: "!";
    font-weight: 900;
}

body.wm-site:where(.wm-view-page-register) .hint-icon:hover,
body.wm-site:where(.wm-view-page-register) .hint-icon:focus{
    border-color: rgba(196, 69, 92, 0.72);
    background: rgba(196, 69, 92, 0.12);
    color: #ffffff;
    outline: none;
}

body.wm-site:where(.wm-view-page-register) .hint-icon::after{
    content: attr(data-tooltip);
    position: absolute;
    left: 50%;
    bottom: calc(100% + 10px);
    width: max-content;
    max-width: 270px;
    padding: 10px 12px;
    border-radius: var(--radius-sm, 10px);
    background: #181716;
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.88);
    font-size: 13px;
    line-height: 1.35;
    text-align: left;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    z-index: 20;
}

body.wm-site:where(.wm-view-page-register) .hint-icon:hover::after,
body.wm-site:where(.wm-view-page-register) .hint-icon:focus::after{
    opacity: 1;
    visibility: visible;
}

@media (max-width: 1100px) {
    body.wm-site:where(.wm-view-page-register) .register-page{
        padding: 34px 16px 46px;
        background:
            linear-gradient(180deg, rgba(26, 26, 26, 0.70) 0%, rgba(26, 26, 26, 0.88) 42%, #1a1a1a 100%),
            radial-gradient(circle at 20% 30%, rgba(196, 69, 92, 0.22), transparent 320px),
            url('/wp-content/uploads/2025/12/i-2.webp');
        background-size: cover;
        background-position: center;
    }

    body.wm-site:where(.wm-view-page-register) .register-inner{
        min-height: 0;
        grid-template-columns: 1fr;
        grid-template-areas:
            "hero"
            "panel"
            "features";
        gap: 24px;
    }

    body.wm-site:where(.wm-view-page-register) .register-panel{
        max-width: 520px;
    }
}

@media (max-width: 768px) {
    body.wm-site:where(.wm-view-page-register) .register-page{
        padding: 24px 14px 42px;
    }

    body.wm-site:where(.wm-view-page-register) .register-inner{
        display: grid;
        grid-template-columns: 1fr;
        grid-template-areas:
            "hero"
            "panel"
            "features";
        gap: 22px;
    }

    body.wm-site:where(.wm-view-page-register) .register-hero{
        max-width: 100%;
        padding: 0;
        text-align: left;
    }

    body.wm-site:where(.wm-view-page-register) .register-panel{
        max-width: 100%;
        width: 100%;
    }

    body.wm-site:where(.wm-view-page-register) .register-features-wrap{
        max-width: 100%;
    }

    body.wm-site:where(.wm-view-page-register) .register-title{
        font-size: 34px;
        line-height: 1;
        letter-spacing: -0.05em;
    }

    body.wm-site:where(.wm-view-page-register) .register-subtitle{
        margin-top: 16px;
        font-size: 15px;
        line-height: 1.6;
    }

    body.wm-site:where(.wm-view-page-register) .register-features{
        grid-template-columns: 1fr;
        gap: 10px;
    }

    body.wm-site:where(.wm-view-page-register) .register-card{
        padding: 24px 18px;
        border-radius: var(--radius-lg, 20px);
    }

    body.wm-site:where(.wm-view-page-register) .register-form-title{
        font-size: 28px;
    }
}

@media (max-width: 480px) {
    body.wm-site:where(.wm-view-page-register) .register-page{
        padding-left: 10px;
        padding-right: 10px;
    }

    body.wm-site:where(.wm-view-page-register) .register-title{
        font-size: 30px;
    }

    body.wm-site:where(.wm-view-page-register) .register-kicker{
        font-size: 12px;
    }

    body.wm-site:where(.wm-view-page-register) .register-card{
        padding: 22px 14px;
    }

    body.wm-site:where(.wm-view-page-register) .form-input{
        height: 46px;
        border-radius: var(--radius-sm, 10px);
    }

    body.wm-site:where(.wm-view-page-register) .submit-btn{
        border-radius: var(--radius-md, 14px);
    }

    body.wm-site:where(.wm-view-page-register) .hint-icon{
        width: 22px;
        height: 22px;
    }

    body.wm-site:where(.wm-view-page-register) .hint-icon::after{
        left: auto;
        right: -10px;
        bottom: auto;
        top: calc(100% + 10px);
        width: min(86vw, 320px);
        max-width: none;
    }

    body.wm-site:where(.wm-view-page-register) .code-input{
        letter-spacing: 6px;
        font-size: 22px;
    }
}
/* ========== КОНЕЦ: Шаблон: page-register ========== */



/* ========== НАЧАЛО: Шаблон: privacy-policy ========== */
/* Основные стили страницы политики конфиденциальности */
body.wm-site:where(.wm-view-privacy-policy) .privacy-policy-wrapper{
    min-height: 100vh;
    background: #0a0a0a;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 10px 20px 40px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    color: #ffffff;
}

body.wm-site:where(.wm-view-privacy-policy) .privacy-policy-container{
    max-width: auto;
    width: 100%;
    margin: 0 auto;
}

body.wm-site:where(.wm-view-privacy-policy) .privacy-policy-header{
    text-align: center;
    margin-bottom: 50px;
    position: relative;
    padding-bottom: 30px;
}

body.wm-site:where(.wm-view-privacy-policy) .privacy-policy-header::after{
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: #c4455c;
    border-radius: 2px;
}

body.wm-site:where(.wm-view-privacy-policy) .privacy-policy-title{
    font-size: 42px;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

body.wm-site:where(.wm-view-privacy-policy) .last-updated{
    color: #9ca3af;
    font-size: 14px;
    font-style: italic;
}

body.wm-site:where(.wm-view-privacy-policy) .privacy-policy-content{
    background: #1a1a1a;
    border-radius: 16px;
    border: 1px solid #2d2d2d;
    padding: 30px;
    position: relative;
    overflow: hidden;
    animation: fadeIn 0.6s ease-out;
    line-height: 1.8;
}

/* Анимация появления */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Стили для основного содержания */
body.wm-site:where(.wm-view-privacy-policy) .policy-section{
    margin-bottom: 40px;
}

body.wm-site:where(.wm-view-privacy-policy) .policy-section:last-child{
    margin-bottom: 0;
}

body.wm-site:where(.wm-view-privacy-policy) .section-title{
    color: #ffffff;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #333;
    position: relative;
}

body.wm-site:where(.wm-view-privacy-policy) .section-title::after{
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 60px;
    height: 2px;
    background: #c4455c;
}

body.wm-site:where(.wm-view-privacy-policy) .subsection{
    margin-bottom: 25px;
}

body.wm-site:where(.wm-view-privacy-policy) .subsection:last-child{
    margin-bottom: 0;
}

body.wm-site:where(.wm-view-privacy-policy) .subsection-title{
    color: #ffffff;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
    position: relative;
    padding-left: 20px;
}

body.wm-site:where(.wm-view-privacy-policy) .subsection-title::before{
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    background: #c4455c;
    border-radius: 50%;
}

body.wm-site:where(.wm-view-privacy-policy) .policy-text{
    color: #e0e0e0;
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 15px;
}

body.wm-site:where(.wm-view-privacy-policy) .policy-text:last-child{
    margin-bottom: 0;
}

body.wm-site:where(.wm-view-privacy-policy) .highlight-text{
    background: rgba(196, 69, 92, 0.1);
    border-left: 3px solid #c4455c;
    padding: 20px;
    border-radius: 0 8px 8px 0;
    margin: 20px 0;
}

body.wm-site:where(.wm-view-privacy-policy) .contact-info{
    background: #252525;
    border: 1px solid #333;
    border-radius: 12px;
    padding: 25px;
    margin-top: 30px;
}

body.wm-site:where(.wm-view-privacy-policy) .contact-title{
    color: #ffffff;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 15px;
    position: relative;
    padding-left: 30px;
}

body.wm-site:where(.wm-view-privacy-policy) .contact-title::before{
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 14px;
    background: #c4455c;
    clip-path: polygon(0 0, 100% 0, 100% 70%, 60% 70%, 60% 100%, 40% 70%, 0 70%);
}

body.wm-site:where(.wm-view-privacy-policy) .contact-email{
    color: #c4455c;
    font-size: 18px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    padding-left: 30px;
    position: relative;
}

body.wm-site:where(.wm-view-privacy-policy) .contact-email:hover{
    color: #ffffff;
}

body.wm-site:where(.wm-view-privacy-policy) .contact-email::before{
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 16px;
    background: #c4455c;
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20 4H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 4l-8 5-8-5V6l8 5 8-5v2z'/%3E%3C/svg%3E");
    mask-repeat: no-repeat;
    mask-size: contain;
}

body.wm-site:where(.wm-view-privacy-policy) .contact-email:hover::before{
    background: #ffffff;
}

/* Нумерация списков */
body.wm-site:where(.wm-view-privacy-policy) .numbered-list{
    list-style: none;
    padding-left: 0;
    margin: 15px 0;
}

body.wm-site:where(.wm-view-privacy-policy) .numbered-item{
    position: relative;
    padding-left: 35px;
    margin-bottom: 12px;
    color: #e0e0e0;
    line-height: 1.6;
}

body.wm-site:where(.wm-view-privacy-policy) .numbered-item:last-child{
    margin-bottom: 0;
}

body.wm-site:where(.wm-view-privacy-policy) .numbered-item::before{
    content: attr(data-number) ".";
    position: absolute;
    left: 0;
    top: 0;
    color: #c4455c;
    font-weight: bold;
    font-size: 16px;
}

/* Ссылки в тексте */
body.wm-site:where(.wm-view-privacy-policy) .policy-link{
    color: #c4455c;
    text-decoration: none;
    border-bottom: 1px solid rgba(196, 69, 92, 0.3);
    transition: all 0.3s ease;
}

body.wm-site:where(.wm-view-privacy-policy) .policy-link:hover{
    color: #ffffff;
    border-bottom-color: #ffffff;
}

/* Стили для чисел в заголовках */
body.wm-site:where(.wm-view-privacy-policy) .section-number{
    color: #c4455c;
    font-weight: 800;
    margin-right: 8px;
}

/* Адаптивность */
@media (max-width: 1024px) {
    body.wm-site:where(.wm-view-privacy-policy) .privacy-policy-content{
        padding: 40px;
    }
}

@media (max-width: 768px) {
    body.wm-site:where(.wm-view-privacy-policy) .privacy-policy-wrapper{
        padding: 10px 15px 30px;
    }
    
    body.wm-site:where(.wm-view-privacy-policy) .privacy-policy-title{
        font-size: 25px;
    }
    
    body.wm-site:where(.wm-view-privacy-policy) .privacy-policy-content{
        padding: 30px 20px;
    }
    
    body.wm-site:where(.wm-view-privacy-policy) .section-title{
        font-size: 22px;
    }
    
    body.wm-site:where(.wm-view-privacy-policy) .policy-text{
        font-size: 15px;
    }
}
/* ========== КОНЕЦ: Шаблон: privacy-policy ========== */



/* ========== НАЧАЛО: Шаблон: reviews ========== */
body.wm-site:where(.wm-view-reviews) .anketa-card::after{
    
    display: none !important;
    
}
/* Базовые стили */
body.wm-site:where(.wm-view-reviews) .reviews-page{
    min-height: 100vh;
    padding: 30px 20px;
    line-height: 1.5;
}

body.wm-site:where(.wm-view-reviews) .reviews-container{
    max-width: 1000px;
    margin: 0 auto;
}

/* Заголовок */
body.wm-site:where(.wm-view-reviews) .page-title{
    color: #ffffff;
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 25px;
    text-align: center;
    letter-spacing: -0.5px;
}

/* Сетка анкет */
body.wm-site:where(.wm-view-reviews) .anketas-grid{
    display: grid;
    gap: 25px;
}

/* Карточка анкеты */
body.wm-site:where(.wm-view-reviews) .anketa-card{
    background: #111;
    border: 1px solid #222;
    border-radius: 12px;
    overflow: hidden;
    transition: border-color 0.3s ease;
}

body.wm-site:where(.wm-view-reviews) .anketa-card:hover{
    border-color: #333;
}

body.wm-site:where(.wm-view-reviews) .card-main{
    display: grid;
    grid-template-columns: 200px 1fr;
    padding: 25px;
    gap: 30px;
}

@media (max-width: 768px) {
    body.wm-site:where(.wm-view-reviews) .card-main{
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    body.wm-site:where(.wm-view-reviews) .page-title{
        font-size: 1.75rem;
        margin-bottom: 30px;
    }
}

/* Изображение */
body.wm-site:where(.wm-view-reviews) .image-section{
    position: relative;
}

body.wm-site:where(.wm-view-reviews) .image-wrapper{
    position: relative;
    width: 100%;
    height: 200px;
    border-radius: 8px;
    overflow: hidden;
    background: #000;
}

body.wm-site:where(.wm-view-reviews) .image-wrapper img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

body.wm-site:where(.wm-view-reviews) .rating-badge{
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.9);
    border-radius: 4px;
    padding: 6px 8px;
    display: flex;
    align-items: center;
    gap: 4px;
}

body.wm-site:where(.wm-view-reviews) .rating-badge .star-icon{
    width: 14px;
    height: 14px;
    color: #c4455c;
}

body.wm-site:where(.wm-view-reviews) .rating-value{
    color: #fff;
    font-size: 0.875rem;
    font-weight: 500;
}

body.wm-site:where(.wm-view-reviews) .image-placeholder{
    width: 100%;
    height: 200px;
    background: #1a1a1a;
    border: 1px solid #222;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

body.wm-site:where(.wm-view-reviews) .user-icon{
    color: #444;
    width: 48px;
    height: 48px;
}

/* Информация */
body.wm-site:where(.wm-view-reviews) .info-section{
    display: flex;
    flex-direction: column;
}

body.wm-site:where(.wm-view-reviews) .info-header{
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
}

body.wm-site:where(.wm-view-reviews) .anketa-name{
    margin: 0;
    flex: 1;
}

body.wm-site:where(.wm-view-reviews) .anketa-name a{
    color: #fff;
    text-decoration: none;
    font-size: 1.25rem;
    font-weight: 400;
    transition: color 0.3s ease;
}

body.wm-site:where(.wm-view-reviews) .anketa-name a:hover{
    color: #c4455c;
}

body.wm-site:where(.wm-view-reviews) .review-count{
    display: flex;
    align-items: center;
    gap: 6px;
    color: #888;
    font-size: 0.875rem;
}

body.wm-site:where(.wm-view-reviews) .review-icon{
    width: 14px;
    height: 14px;
    color: #888;
}

body.wm-site:where(.wm-view-reviews) .info-meta{
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

body.wm-site:where(.wm-view-reviews) .meta-item{
    display: flex;
    align-items: center;
    gap: 6px;
    color: #aaa;
    font-size: 0.875rem;
}

body.wm-site:where(.wm-view-reviews) .meta-icon{
    width: 12px;
    height: 12px;
    color: #666;
}

body.wm-site:where(.wm-view-reviews) .rating-display{
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 25px;
}

body.wm-site:where(.wm-view-reviews) .stars{
    display: flex;
    gap: 2px;
}

body.wm-site:where(.wm-view-reviews) .stars .star{
    width: 14px;
    height: 14px;
    color: #444;
}

body.wm-site:where(.wm-view-reviews) .stars .star.filled{
    color: #c4455c;
}

body.wm-site:where(.wm-view-reviews) .rating-text{
    color: #aaa;
    font-size: 0.875rem;
}

body.wm-site:where(.wm-view-reviews) .profile-link{
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #c4455c;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    padding: 10px 16px;
    border: 1px solid #c4455c;
    border-radius: 6px;
    width: fit-content;
    transition: all 0.3s ease;
}

body.wm-site:where(.wm-view-reviews) .profile-link:hover{
    background: rgba(196, 69, 92, 0.1);
    gap: 12px;
}

body.wm-site:where(.wm-view-reviews) .arrow-icon{
    transition: transform 0.3s ease;
}

body.wm-site:where(.wm-view-reviews) .profile-link:hover .arrow-icon{
    transform: translateX(4px);
}

/* Секция отзывов */
body.wm-site:where(.wm-view-reviews) .reviews-section{
    border-top: 1px solid #222;
    padding: 25px;
    background: #0f0f0f;
}

body.wm-site:where(.wm-view-reviews) .reviews-header{
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

body.wm-site:where(.wm-view-reviews) .reviews-header h3{
    color: #fff;
    font-size: 1rem;
    font-weight: 500;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

body.wm-site:where(.wm-view-reviews) .slider-nav{
    display: flex;
    align-items: center;
    gap: 15px;
}

body.wm-site:where(.wm-view-reviews) .nav-btn{
    background: none;
    border: 1px solid #333;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #888;
    cursor: pointer;
    padding: 0;
    transition: all 0.3s ease;
}

body.wm-site:where(.wm-view-reviews) .nav-btn:hover:not(:disabled){
    border-color: #c4455c;
    color: #c4455c;
}

body.wm-site:where(.wm-view-reviews) .nav-btn:disabled{
    opacity: 0.3;
    cursor: not-allowed;
}

body.wm-site:where(.wm-view-reviews) .slide-counter{
    color: #888;
    font-size: 0.75rem;
    min-width: 40px;
    text-align: center;
}

body.wm-site:where(.wm-view-reviews) .reviews-slider{
    position: relative;
    min-height: 150px;
}

body.wm-site:where(.wm-view-reviews) .review{
    display: none;
    animation: fadeIn 0.3s ease;
}

body.wm-site:where(.wm-view-reviews) .review.active{
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

body.wm-site:where(.wm-view-reviews) .review-header{
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    flex-wrap: wrap;
    gap: 15px;
}

body.wm-site:where(.wm-view-reviews) .reviewer{
    display: flex;
    align-items: center;
    gap: 12px;
}

body.wm-site:where(.wm-view-reviews) .reviewer-avatar{
    width: 32px;
    height: 32px;
    background: #1a1a1a;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #222;
}

body.wm-site:where(.wm-view-reviews) .reviewer-avatar svg{
    width: 16px;
    height: 16px;
    color: #666;
}

body.wm-site:where(.wm-view-reviews) .reviewer-info{
    display: flex;
    flex-direction: column;
}

body.wm-site:where(.wm-view-reviews) .reviewer-name{
    color: #fff;
    font-size: 0.875rem;
    font-weight: 500;
}

body.wm-site:where(.wm-view-reviews) .review-date{
    color: #888;
    font-size: 0.75rem;
    margin-top: 2px;
}

body.wm-site:where(.wm-view-reviews) .review-rating{
    display: flex;
    gap: 2px;
}

body.wm-site:where(.wm-view-reviews) .review-rating .star{
    width: 12px;
    height: 12px;
    color: #444;
}

body.wm-site:where(.wm-view-reviews) .review-rating .star.filled{
    color: #c4455c;
}

body.wm-site:where(.wm-view-reviews) .review-content{
    color: #ddd;
    font-size: 0.875rem;
    line-height: 1.6;
    padding: 15px;
    background: #1a1a1a;
    border-radius: 6px;
    border-left: 3px solid #c4455c;
}

body.wm-site:where(.wm-view-reviews) .slider-dots{
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
}

body.wm-site:where(.wm-view-reviews) .dot{
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #333;
    border: none;
    padding: 0;
    cursor: pointer;
    transition: all 0.3s ease;
}

body.wm-site:where(.wm-view-reviews) .dot.active{
    background: #c4455c;
    transform: scale(1.2);
}

body.wm-site:where(.wm-view-reviews) .dot:hover{
    background: #555;
}

/* Состояние пустого экрана */
body.wm-site:where(.wm-view-reviews) .empty-state{
    text-align: center;
    padding: 60px 20px;
    background: #111;
    border: 1px solid #222;
    border-radius: 12px;
    max-width: 400px;
    margin: 0 auto;
}

body.wm-site:where(.wm-view-reviews) .empty-icon{
    color: #444;
    width: 48px;
    height: 48px;
    margin-bottom: 20px;
}

body.wm-site:where(.wm-view-reviews) .empty-state h3{
    color: #fff;
    font-size: 1.25rem;
    font-weight: 400;
    margin: 0 0 10px 0;
}

body.wm-site:where(.wm-view-reviews) .empty-state p{
    color: #888;
    font-size: 0.875rem;
    margin: 0;
}

/* Адаптивность */
@media (max-width: 480px) {
    body.wm-site:where(.wm-view-reviews) .reviews-page{
        padding: 20px 15px;
    }
    
    body.wm-site:where(.wm-view-reviews) .page-title{
        font-size: 1.5rem;
        margin-bottom: 25px;
    }
    
    body.wm-site:where(.wm-view-reviews) .card-main{
        padding: 20px;
    }
    
    body.wm-site:where(.wm-view-reviews) .reviews-section{
        padding: 20px;
    }
    
    body.wm-site:where(.wm-view-reviews) .reviews-header{
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    body.wm-site:where(.wm-view-reviews) .slider-nav{
        align-self: flex-end;
    }
}
/* ========== КОНЕЦ: Шаблон: reviews ========== */



/* ========== НАЧАЛО: Шаблон: single-wm_anketa ========== */
/* ============================================================
   SINGLE ANKETA — ОБНОВЛЁННЫЙ ДИЗАЙН ПОД MIRACLE
   Без hover-transform, чтобы ничего не дёргалось
============================================================ */

body.wm-site:where(.wm-view-single-wm_anketa){
    --single-bg: #1a1a1a;
    --single-panel: #232220;
    --single-panel-2: #2a2825;
    --single-panel-3: #181716;
    --single-border: rgba(255, 255, 255, 0.09);
    --single-border-strong: rgba(255, 255, 255, 0.16);
    --single-text: #ffffff;
    --single-muted: rgba(255, 255, 255, 0.68);
    --single-soft: rgba(255, 255, 255, 0.44);
    --accent: #c4455c;
    --accent-hover: #d75970;
    --wa: #5bbf3a;
    --tg: #2aa6ff;
    --radius-lg: 20px;
    --radius-md: 14px;
    --radius-sm: 10px;
    --radius-xs: 7px;
}

/* Общая страница */


body.wm-site:where(.wm-view-single-wm_anketa) .anketa-single-wrapper{
    min-height: calc(100vh - 80px);
    padding: 32px 20px;
    color: var(--single-text);
}

body.wm-site:where(.wm-view-single-wm_anketa) .anketa-single-card{
    max-width: 1350px;
    margin: 0 auto 42px;
    padding: 18px;
    background:
        linear-gradient(180deg, rgba(255,255,255,0.035), rgba(255,255,255,0.01)),
        var(--single-panel);
    border: 1px solid var(--single-border);
    border-radius: var(--radius-lg);
}

body.wm-site:where(.wm-view-single-wm_anketa) .anketa-single-layout{
    display: grid;
    grid-template-columns: minmax(0, 3fr) minmax(360px, 1.35fr);
    gap: 26px;
    align-items: flex-start;
}

/* Навигация */

body.wm-site:where(.wm-view-single-wm_anketa) .anketa-top-navigation{
    max-width: 1600px;
    margin: 0 auto 22px;
}

body.wm-site:where(.wm-view-single-wm_anketa) .anketa-nav-container{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

body.wm-site:where(.wm-view-single-wm_anketa) .anketa-nav-btn{
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 18px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--single-border);
    background: rgba(255,255,255,0.055);
    color: rgba(255,255,255,0.86);
    text-decoration: none;
    font-size: 14px;
    line-height: 1;
    font-weight: 850;
    transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

body.wm-site:where(.wm-view-single-wm_anketa) .anketa-nav-btn:hover{
    background: rgba(196,69,92,0.14);
    border-color: rgba(196,69,92,0.45);
    color: #ffffff;
}

body.wm-site:where(.wm-view-single-wm_anketa) .anketa-nav-btn--next{
    background: var(--accent);
    border-color: var(--accent);
    color: #ffffff;
}

body.wm-site:where(.wm-view-single-wm_anketa) .anketa-nav-btn--next:hover{
    background: var(--accent-hover);
    border-color: var(--accent-hover);
}

body.wm-site:where(.wm-view-single-wm_anketa) .anketa-nav-ico{
    font-size: 17px;
    line-height: 1;
}

/* Левая колонка */

body.wm-site:where(.wm-view-single-wm_anketa) .anketa-single-left{
    position: sticky;
    top: 20px;
    align-self: flex-start;
    max-height: calc(100vh - 100px);
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: var(--accent) #2a2725;
}

body.wm-site:where(.wm-view-single-wm_anketa) .anketa-single-left::-webkit-scrollbar{
    width: 6px;
}

body.wm-site:where(.wm-view-single-wm_anketa) .anketa-single-left::-webkit-scrollbar-track{
    background: #2a2725;
    border-radius: 999px;
}

body.wm-site:where(.wm-view-single-wm_anketa) .anketa-single-left::-webkit-scrollbar-thumb{
    background: var(--accent);
    border-radius: 999px;
}

body.wm-site:where(.wm-view-single-wm_anketa) .anketa-single-left-inner{
    display: flex;
    flex-direction: column;
    gap: 14px;
}

body.wm-site:where(.wm-view-single-wm_anketa) .anketa-gallery-grid{
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

body.wm-site:where(.wm-view-single-wm_anketa) .anketa-gallery-item{
    position: relative;
    overflow: hidden;
    aspect-ratio: 3 / 4;
    background: #000000;
    border-radius: var(--radius-md);
    border: 1px solid rgba(255,255,255,0.08);
}

body.wm-site:where(.wm-view-single-wm_anketa) .anketa-gallery-item::after{
    content: "Miracle-ladies";
    position: absolute;
    left: 8px;
    right: 8px;
    top: 48%;
    z-index: 2;
    color: rgba(255,255,255,0.13);
    font-size: clamp(18px, 2.1vw, 34px);
    line-height: 1;
    font-weight: 950;
    text-align: center;
    white-space: nowrap;
    letter-spacing: 1.5px;
    pointer-events: none;
    text-transform: uppercase;
}

body.wm-site:where(.wm-view-single-wm_anketa) .anketa-gallery-link{
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
}

body.wm-site:where(.wm-view-single-wm_anketa) .anketa-gallery-link img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: opacity 0.18s ease;
}

body.wm-site:where(.wm-view-single-wm_anketa) .anketa-gallery-link:hover img{
    opacity: 0.88;
}

body.wm-site:where(.wm-view-single-wm_anketa) .anketa-gallery-link::before{
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(180deg, transparent 55%, rgba(0,0,0,0.5));
    opacity: 0;
    transition: opacity 0.18s ease;
}

body.wm-site:where(.wm-view-single-wm_anketa) .anketa-gallery-link:hover::before{
    opacity: 1;
}

body.wm-site:where(.wm-view-single-wm_anketa) .anketa-gallery-zoom-icon{
    position: absolute;
    right: 12px;
    bottom: 12px;
    z-index: 3;
    width: 38px;
    height: 38px;
    border-radius: 999px;
    background: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    opacity: 0;
    transition: opacity 0.18s ease, background 0.18s ease;
    pointer-events: none;
}

body.wm-site:where(.wm-view-single-wm_anketa) .anketa-gallery-link:hover .anketa-gallery-zoom-icon{
    opacity: 1;
}

body.wm-site:where(.wm-view-single-wm_anketa) .anketa-gallery-more-btn{
    display: none;
    width: 100%;
    min-height: 44px;
    padding: 12px 14px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--single-border-strong);
    background: rgba(255,255,255,0.06);
    color: #ffffff;
    font-weight: 850;
    cursor: pointer;
    transition: background 0.18s ease, border-color 0.18s ease;
}

body.wm-site:where(.wm-view-single-wm_anketa) .anketa-gallery-more-btn:hover{
    background: rgba(196,69,92,0.14);
    border-color: rgba(196,69,92,0.45);
}

/* Правая колонка */

body.wm-site:where(.wm-view-single-wm_anketa) .anketa-single-right{
    display: flex;
    flex-direction: column;
    gap: 14px;
}

body.wm-site:where(.wm-view-single-wm_anketa) .anketa-right-header{
    padding: 18px;
    background:
        radial-gradient(circle at top left, rgba(196, 69, 92, 0.12), transparent 240px),
        rgba(255,255,255,0.045);
    border: 1px solid var(--single-border);
    border-radius: var(--radius-md);
}

body.wm-site:where(.wm-view-single-wm_anketa) .anketa-right-header-top{
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 14px;
}

body.wm-site:where(.wm-view-single-wm_anketa) .anketa-single-title{
    margin: 0;
    color: #ffffff;
    font-size: clamp(26px, 2.2vw, 34px);
    line-height: 1.12;
    font-weight: 900;
    letter-spacing: -0.04em;
}

body.wm-site:where(.wm-view-single-wm_anketa) .anketa-header-actions{
    display: flex;
    align-items: center;
    gap: 9px;
    flex-shrink: 0;
}

body.wm-site:where(.wm-view-single-wm_anketa) .anketa-fav-btn{
    width: 38px;
    height: 38px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(196,69,92,0.12);
    border: 1px solid rgba(196,69,92,0.34);
    color: var(--accent);
    cursor: pointer;
    transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

body.wm-site:where(.wm-view-single-wm_anketa) .anketa-fav-btn:hover{
    background: rgba(196,69,92,0.2);
    border-color: rgba(196,69,92,0.55);
    color: #ffffff;
}

body.wm-site:where(.wm-view-single-wm_anketa) .anketa-fav-btn svg{
    width: 18px;
    height: 18px;
}

body.wm-site:where(.wm-view-single-wm_anketa) .anketa-fav-btn.active svg{
    fill: var(--accent);
    stroke: var(--accent);
}

body.wm-site:where(.wm-view-single-wm_anketa) .anketa-fav-btn.pulse,
body.wm-site:where(.wm-view-single-wm_anketa) .fav.pulse{
    animation: wmFavoritePulse 0.55s ease;
}

@keyframes wmFavoritePulse {
    0% { opacity: 1; }
    50% { opacity: .55; }
    100% { opacity: 1; }
}

body.wm-site:where(.wm-view-single-wm_anketa) .anketa-single-id-badge{
    min-height: 34px;
    display: inline-flex;
    align-items: center;
    padding: 7px 11px;
    border-radius: 999px;
    background: var(--accent);
    color: #ffffff;
    font-size: 12px;
    line-height: 1;
    font-weight: 900;
    white-space: nowrap;
}

body.wm-site:where(.wm-view-single-wm_anketa) .anketa-right-header-meta{
    margin-top: 12px;
}

body.wm-site:where(.wm-view-single-wm_anketa) .anketa-top-chips,
body.wm-site:where(.wm-view-single-wm_anketa) .anketa-top-badges{
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

body.wm-site:where(.wm-view-single-wm_anketa) .anketa-top-badges{
    margin-top: 12px;
}

body.wm-site:where(.wm-view-single-wm_anketa) .anketa-chip,
body.wm-site:where(.wm-view-single-wm_anketa) .anketa-badge{
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 30px;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.09);
    color: rgba(255,255,255,0.88);
    font-size: 12px;
    line-height: 1;
    font-weight: 800;
}

body.wm-site:where(.wm-view-single-wm_anketa) .anketa-chip span{
    color: rgba(255,255,255,0.55);
}

body.wm-site:where(.wm-view-single-wm_anketa) .anketa-badge img{
    width: 16px;
    height: 16px;
    object-fit: contain;
}

/* Кнопки контактов */

body.wm-site:where(.wm-view-single-wm_anketa) .anketa-contact-buttons{
    display: grid;
    gap: 10px;
}

body.wm-site:where(.wm-view-single-wm_anketa) .anketa-btn{
    min-height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 13px 15px;
    border-radius: var(--radius-sm);
    border: 1px solid transparent;
    color: #ffffff !important;
    text-decoration: none;
    font-size: 14px;
    line-height: 1.1;
    font-weight: 900;
    cursor: pointer;
    transition: background 0.18s ease, border-color 0.18s ease, opacity 0.18s ease;
}

body.wm-site:where(.wm-view-single-wm_anketa) .anketa-btn:hover{
    color: #ffffff !important;
}

body.wm-site:where(.wm-view-single-wm_anketa) .anketa-btn-main{
    justify-content: center;
    background: var(--accent);
    border-color: var(--accent);
}

body.wm-site:where(.wm-view-single-wm_anketa) .anketa-btn-main:hover{
    background: var(--accent-hover);
    border-color: var(--accent-hover);
}

body.wm-site:where(.wm-view-single-wm_anketa) .anketa-btn-phone{
    background: rgba(196,69,92,0.9);
    border-color: rgba(196,69,92,0.9);
}

body.wm-site:where(.wm-view-single-wm_anketa) .anketa-btn-phone:hover{
    background: var(--accent-hover);
    border-color: var(--accent-hover);
}

body.wm-site:where(.wm-view-single-wm_anketa) .anketa-btn-whatsapp{
    background: rgba(91, 191, 58, 0.88);
    border-color: rgba(91, 191, 58, 0.88);
}

body.wm-site:where(.wm-view-single-wm_anketa) .anketa-btn-whatsapp:hover{
    background: #63c943;
    border-color: #63c943;
}

body.wm-site:where(.wm-view-single-wm_anketa) .anketa-btn-telegram{
    background: rgba(42, 166, 255, 0.88);
    border-color: rgba(42, 166, 255, 0.88);
}

body.wm-site:where(.wm-view-single-wm_anketa) .anketa-btn-telegram:hover{
    background: #42b2ff;
    border-color: #42b2ff;
}

body.wm-site:where(.wm-view-single-wm_anketa) .anketa-btn-icon{
    width: 18px;
    height: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

body.wm-site:where(.wm-view-single-wm_anketa) .anketa-btn-icon svg{
    width: 17px;
    height: 17px;
}

body.wm-site:where(.wm-view-single-wm_anketa) .anketa-btn-text{
    white-space: nowrap;
}

/* Инфо и цены */

body.wm-site:where(.wm-view-single-wm_anketa) .anketa-right-box{
    padding: 16px;
    background: rgba(255,255,255,0.045);
    border-radius: var(--radius-md);
    border: 1px solid var(--single-border);
}

body.wm-site:where(.wm-view-single-wm_anketa) .anketa-info-section + .anketa-info-section{
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid rgba(255,255,255,0.07);
}

body.wm-site:where(.wm-view-single-wm_anketa) .anketa-info-title{
    margin-bottom: 12px;
    color: #ffffff;
    font-size: 14px;
    line-height: 1.2;
    font-weight: 900;
}

body.wm-site:where(.wm-view-single-wm_anketa) .anketa-info-row,
body.wm-site:where(.wm-view-single-wm_anketa) .anketa-price-row{
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 14px;
    padding: 7px 0;
    border-bottom: 1px dashed rgba(255,255,255,0.065);
    font-size: 14px;
}

body.wm-site:where(.wm-view-single-wm_anketa) .anketa-info-row:last-child,
body.wm-site:where(.wm-view-single-wm_anketa) .anketa-price-row:last-child{
    border-bottom: none;
}

body.wm-site:where(.wm-view-single-wm_anketa) .anketa-info-label,
body.wm-site:where(.wm-view-single-wm_anketa) .anketa-price-label{
    color: var(--single-muted);
}

body.wm-site:where(.wm-view-single-wm_anketa) .anketa-info-value{
    color: #ffffff;
    font-weight: 800;
    text-align: right;
}

body.wm-site:where(.wm-view-single-wm_anketa) .anketa-price-value{
    color: var(--accent-hover);
    font-weight: 900;
    white-space: nowrap;
}

/* Видео */

body.wm-site:where(.wm-view-single-wm_anketa) .anketa-gallery-video{
    overflow: hidden;
    background: #000000;
    border-radius: var(--radius-md);
    border: 1px solid var(--single-border);
}

body.wm-site:where(.wm-view-single-wm_anketa) .anketa-gallery-video video{
    width: 100%;
    display: block;
}

/* Предупреждение */

body.wm-site:where(.wm-view-single-wm_anketa) .anketa-warning-card{
    padding: 14px;
    border-radius: var(--radius-md);
    border: 1px solid rgba(241, 102, 131, 0.45);
    background: rgba(241, 102, 131, 0.10);
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

body.wm-site:where(.wm-view-single-wm_anketa) .anketa-warning-icon{
    width: 42px;
    height: 42px;
    border-radius: 999px;
    background: rgba(241, 102, 131, 0.16);
    border: 1px solid rgba(241, 102, 131, 0.34);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #f16683;
    flex: 0 0 42px;
}

body.wm-site:where(.wm-view-single-wm_anketa) .anketa-warning-text{
    color: rgba(255,255,255,0.9);
    font-size: 14px;
    line-height: 1.5;
    font-weight: 700;
}

/* Большие секции */

body.wm-site:where(.wm-view-single-wm_anketa) .anketa-single-description,
body.wm-site:where(.wm-view-single-wm_anketa) .anketa-single-services,
body.wm-site:where(.wm-view-single-wm_anketa) .anketa-single-reviews{
    margin-top: 24px;
    padding: 22px;
    background: rgba(255,255,255,0.045);
    border-radius: var(--radius-md);
    border: 1px solid var(--single-border);
}

body.wm-site:where(.wm-view-single-wm_anketa) .anketa-single-subtitle{
    position: relative;
    margin: 0 0 18px;
    padding-bottom: 12px;
    color: #ffffff;
    font-size: 20px;
    line-height: 1.15;
    font-weight: 900;
    letter-spacing: -0.02em;
}

body.wm-site:where(.wm-view-single-wm_anketa) .anketa-single-subtitle::after{
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 54px;
    height: 2px;
    background: var(--accent);
    border-radius: 999px;
}

body.wm-site:where(.wm-view-single-wm_anketa) .anketa-single-description p{
    margin: 0 0 12px;
    color: rgba(255,255,255,0.78);
    font-size: 15px;
    line-height: 1.75;
}

body.wm-site:where(.wm-view-single-wm_anketa) .anketa-single-description p:last-child{
    margin-bottom: 0;
}

/* Услуги */

body.wm-site:where(.wm-view-single-wm_anketa) .anketa-single-services-list{
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(245px, 1fr));
    gap: 10px;
}

body.wm-site:where(.wm-view-single-wm_anketa) .anketa-single-services-list li{
    position: relative;
    min-height: 38px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 12px 10px 34px;
    background: rgba(0,0,0,0.16);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--radius-sm);
    color: rgba(255,255,255,0.86);
    font-size: 14px;
    line-height: 1.25;
    font-weight: 700;
}

body.wm-site:where(.wm-view-single-wm_anketa) .anketa-single-services-list li::before{
    content: "✓";
    position: absolute;
    left: 12px;
    top: 10px;
    color: var(--accent-hover);
    font-weight: 900;
}

body.wm-site:where(.wm-view-single-wm_anketa) .anketa-service-price{
    color: var(--accent-hover);
    font-size: 13px;
    font-weight: 900;
    white-space: nowrap;
}

/* Отзывы */

body.wm-site:where(.wm-view-single-wm_anketa) .anketa-review-form{
    margin-bottom: 28px;
}

body.wm-site:where(.wm-view-single-wm_anketa) .anketa-rating-stars{
    margin-bottom: 14px;
    color: rgba(255,255,255,0.22);
    font-size: 30px;
    line-height: 1;
    cursor: pointer;
}

body.wm-site:where(.wm-view-single-wm_anketa) .anketa-rating-stars .star{
    margin-right: 4px;
    transition: color 0.15s ease;
}

body.wm-site:where(.wm-view-single-wm_anketa) .anketa-rating-stars .star:hover,
body.wm-site:where(.wm-view-single-wm_anketa) .anketa-rating-stars .star.active{
    color: #ffd700;
}

body.wm-site:where(.wm-view-single-wm_anketa) .anketa-review-comment,
body.wm-site:where(.wm-view-single-wm_anketa) .anketa-review-captcha-input{
    width: 100%;
    border: 1px solid var(--single-border-strong);
    border-radius: var(--radius-sm);
    background: rgba(0,0,0,0.18);
    color: #ffffff;
    font-family: inherit;
    font-size: 14px;
    box-sizing: border-box;
}

body.wm-site:where(.wm-view-single-wm_anketa) .anketa-review-comment{
    min-height: 120px;
    padding: 13px;
    resize: vertical;
    margin-bottom: 14px;
}

body.wm-site:where(.wm-view-single-wm_anketa) .anketa-review-comment:focus,
body.wm-site:where(.wm-view-single-wm_anketa) .anketa-review-captcha-input:focus{
    outline: none;
    border-color: rgba(196,69,92,0.72);
    background: rgba(0,0,0,0.26);
}

body.wm-site:where(.wm-view-single-wm_anketa) .anketa-review-comment::placeholder,
body.wm-site:where(.wm-view-single-wm_anketa) .anketa-review-captcha-input::placeholder{
    color: rgba(255,255,255,0.34);
}

body.wm-site:where(.wm-view-single-wm_anketa) .anketa-review-captcha{
    margin: 0 0 14px;
    padding: 15px;
    background: rgba(0,0,0,0.16);
    border: 1px solid var(--single-border);
    border-radius: var(--radius-sm);
}

body.wm-site:where(.wm-view-single-wm_anketa) .anketa-review-captcha-title{
    margin-bottom: 8px;
    color: #ffffff;
    font-size: 15px;
    font-weight: 900;
}

body.wm-site:where(.wm-view-single-wm_anketa) .anketa-review-captcha-question{
    margin-bottom: 12px;
    color: rgba(255,255,255,0.82);
    font-size: 14px;
    line-height: 1.5;
}

body.wm-site:where(.wm-view-single-wm_anketa) .anketa-review-captcha-input{
    height: 44px;
    padding: 0 12px;
}

body.wm-site:where(.wm-view-single-wm_anketa) .anketa-review-captcha-status{
    margin-top: 8px;
    color: var(--single-soft);
    font-size: 13px;
    line-height: 1.4;
}

body.wm-site:where(.wm-view-single-wm_anketa) .anketa-review-captcha.is-ok{
    border-color: rgba(76, 175, 80, 0.62);
    background: rgba(76, 175, 80, 0.09);
}

body.wm-site:where(.wm-view-single-wm_anketa) .anketa-review-captcha.is-ok .anketa-review-captcha-status{
    color: #a7f3b7;
}

body.wm-site:where(.wm-view-single-wm_anketa) .anketa-review-captcha.is-error{
    border-color: rgba(241, 102, 131, 0.72);
    background: rgba(241, 102, 131, 0.10);
}

body.wm-site:where(.wm-view-single-wm_anketa) .anketa-review-captcha.is-error .anketa-review-captcha-status{
    color: #ffb3c1;
}

body.wm-site:where(.wm-view-single-wm_anketa) .anketa-btn-submit-review{
    width: 100%;
    justify-content: center;
    background: var(--accent);
    border-color: var(--accent);
}

body.wm-site:where(.wm-view-single-wm_anketa) .anketa-btn-submit-review:hover{
    background: var(--accent-hover);
    border-color: var(--accent-hover);
}

body.wm-site:where(.wm-view-single-wm_anketa) .anketa-btn-submit-review:disabled{
    opacity: 0.55;
    cursor: not-allowed;
}

body.wm-site:where(.wm-view-single-wm_anketa) .anketa-review-message{
    display: none;
    margin-top: 10px;
    padding: 11px 12px;
    border-radius: var(--radius-xs);
    font-size: 14px;
    line-height: 1.45;
    font-weight: 700;
}

body.wm-site:where(.wm-view-single-wm_anketa) .anketa-review-message.success{
    background: rgba(76, 175, 80, 0.14);
    border: 1px solid rgba(76, 175, 80, 0.34);
    color: #a7f3b7;
    display: block;
}

body.wm-site:where(.wm-view-single-wm_anketa) .anketa-review-message.error{
    background: rgba(241, 102, 131, 0.13);
    border: 1px solid rgba(241, 102, 131, 0.34);
    color: #ffb3c1;
    display: block;
}

body.wm-site:where(.wm-view-single-wm_anketa) .anketa-review-item{
    background: rgba(0,0,0,0.16);
    border-radius: var(--radius-sm);
    padding: 18px;
    margin-bottom: 14px;
    border: 1px solid rgba(255,255,255,0.08);
}

body.wm-site:where(.wm-view-single-wm_anketa) .anketa-review-header{
    display: grid;
    gap: 4px;
    margin-bottom: 10px;
}

body.wm-site:where(.wm-view-single-wm_anketa) .anketa-review-user{
    color: #ffffff;
    font-weight: 900;
}

body.wm-site:where(.wm-view-single-wm_anketa) .anketa-review-user .anon-icon{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 23px;
    height: 23px;
    margin-right: 6px;
    background: rgba(255,255,255,0.11);
    border-radius: 999px;
    color: #ffffff;
    font-size: 13px;
    vertical-align: middle;
}

body.wm-site:where(.wm-view-single-wm_anketa) .anketa-review-date{
    color: var(--single-soft);
    font-size: 13px;
}

body.wm-site:where(.wm-view-single-wm_anketa) .anketa-review-rating{
    color: #ffd700;
    font-size: 18px;
    margin-bottom: 10px;
}

body.wm-site:where(.wm-view-single-wm_anketa) .anketa-review-text{
    color: rgba(255,255,255,0.8);
    line-height: 1.65;
    white-space: pre-wrap;
}

body.wm-site:where(.wm-view-single-wm_anketa) .anketa-no-reviews{
    text-align: center;
    color: var(--single-soft);
    padding: 32px 20px;
    font-style: italic;
}

/* Футер анкеты */

body.wm-site:where(.wm-view-single-wm_anketa) .anketa-single-footer{
    margin-top: 24px;
    padding: 18px 0 2px;
    border-top: 1px solid rgba(255,255,255,0.08);
}

body.wm-site:where(.wm-view-single-wm_anketa) .anketa-single-back{
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    padding: 10px 14px;
    background: rgba(255,255,255,0.055);
    color: rgba(255,255,255,0.86);
    text-decoration: none;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 850;
    border: 1px solid var(--single-border);
}

body.wm-site:where(.wm-view-single-wm_anketa) .anketa-single-back:hover{
    background: rgba(196,69,92,0.14);
    border-color: rgba(196,69,92,0.45);
    color: #ffffff;
}

body.wm-site:where(.wm-view-single-wm_anketa) .anketa-single-not-found p{
    max-width: 800px;
    margin: 40px auto;
    text-align: center;
    color: rgba(255,255,255,0.82);
    font-size: 18px;
    padding: 40px 20px;
    background: var(--single-panel);
    border-radius: var(--radius-md);
    border: 1px solid var(--single-border);
}

/* ============================================================
   ПОХОЖИЕ АНКЕТЫ
============================================================ */

body.wm-site:where(.wm-view-single-wm_anketa) .similar-ankety-section{
    padding: 34px 20px 46px;
    background:
        radial-gradient(circle at top, rgba(196,69,92,0.04), transparent 380px),
        #1a1a1a;
    border-top: 1px solid rgba(255,255,255,0.07);
}

body.wm-site:where(.wm-view-single-wm_anketa) .similar-ankety-container{
    max-width: 1350px;
    margin: 0 auto;
}

body.wm-site:where(.wm-view-single-wm_anketa) .similar-ankety-title{
    position: relative;
    margin: 0 0 26px;
    padding-bottom: 15px;
    color: #ffffff;
    font-size: clamp(24px, 2.4vw, 32px);
    line-height: 1.15;
    font-weight: 900;
    text-align: center;
    letter-spacing: -0.03em;
}

body.wm-site:where(.wm-view-single-wm_anketa) .similar-ankety-title::after{
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    margin-left: -30px;
    width: 60px;
    height: 2px;
    background: var(--accent);
    border-radius: 999px;
}

body.wm-site:where(.wm-view-single-wm_anketa) .similar-swiper{
    width: 100%;
    padding: 0 52px 44px;
}

body.wm-site:where(.wm-view-single-wm_anketa) .similar-swiper .swiper-slide{
    height: auto;
}

body.wm-site:where(.wm-view-single-wm_anketa) .similar-swiper .card{
    height: 100%;
}

body.wm-site:where(.wm-view-single-wm_anketa) .similar-swiper .swiper-pagination-bullet{
    background: rgba(255,255,255,0.38);
    opacity: 1;
}

body.wm-site:where(.wm-view-single-wm_anketa) .similar-swiper .swiper-pagination-bullet-active{
    background: var(--accent);
}

body.wm-site:where(.wm-view-single-wm_anketa) .ankety-empty{
    text-align: center;
    padding: 40px 20px;
    color: var(--single-soft);
    font-style: italic;
}

/* Карточки похожих анкет */

body.wm-site:where(.wm-view-single-wm_anketa) .card{
    position: relative;
    overflow: hidden;
    background:
        linear-gradient(180deg, rgba(255,255,255,0.035), rgba(255,255,255,0.01)),
        var(--single-panel);
    border-radius: var(--radius-lg);
    padding: 15px;
    border: 1px solid var(--single-border);
    transition: border-color 0.18s ease, background 0.18s ease;
}

body.wm-site:where(.wm-view-single-wm_anketa) .card:hover{
    border-color: rgba(196,69,92,0.52);
    background:
        radial-gradient(circle at top left, rgba(196,69,92,0.08), transparent 240px),
        var(--single-panel);
}

body.wm-site:where(.wm-view-single-wm_anketa) .head{
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

body.wm-site:where(.wm-view-single-wm_anketa) .name{
    flex: 1;
    margin: 0;
    color: #ffffff;
    font-weight: 900;
    font-size: 21px;
    line-height: 1.15;
    letter-spacing: -0.02em;
}

body.wm-site:where(.wm-view-single-wm_anketa) .fav{
    width: 32px;
    height: 32px;
    display: grid;
    place-items: center;
    background: rgba(255,255,255,0.055);
    border: 1px solid rgba(255,255,255,0.09);
    border-radius: 999px;
    padding: 0;
    cursor: pointer;
    color: var(--accent);
}

body.wm-site:where(.wm-view-single-wm_anketa) .fav svg{
    width: 18px;
    height: 18px;
}

body.wm-site:where(.wm-view-single-wm_anketa) .fav.active svg{
    fill: var(--accent);
}

body.wm-site:where(.wm-view-single-wm_anketa) .top{
    display: flex;
    gap: 14px;
    align-items: flex-start;
    margin-bottom: 12px;
}

body.wm-site:where(.wm-view-single-wm_anketa) .media{
    width: 100%;
    height: 470px;
    border-radius: var(--radius-md);
    overflow: hidden;
    background: #000;
    display: block;
}

body.wm-site:where(.wm-view-single-wm_anketa) .media img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

body.wm-site:where(.wm-view-single-wm_anketa) .stats{
    width: 78px;
    display: flex;
    flex-direction: column;
    gap: 9px;
    margin-top: 0;
}

body.wm-site:where(.wm-view-single-wm_anketa) .stat{
    background: rgba(255,255,255,0.055);
    border: 1px solid rgba(255,255,255,0.09);
    border-radius: var(--radius-md);
    padding: 9px 7px;
    text-align: center;
    line-height: 1.05;
}

body.wm-site:where(.wm-view-single-wm_anketa) .stat .k{
    display: block;
    margin-bottom: 8px;
    color: rgba(255,255,255,0.66);
    font-size: 11px;
}

body.wm-site:where(.wm-view-single-wm_anketa) .stat .v{
    color: var(--accent-hover);
    font-size: 14px;
    font-weight: 900;
}

body.wm-site:where(.wm-view-single-wm_anketa) .actions{
    margin-top: 12px;
    display: flex;
    gap: 10px;
    align-items: center;
}

body.wm-site:where(.wm-view-single-wm_anketa) .btn-main{
    flex: 1;
    min-height: 44px;
    border-radius: 999px;
    background: var(--accent);
    border: 1px solid var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-weight: 900;
    color: #ffffff;
    cursor: pointer;
    font-size: 14px;
    transition: background 0.18s ease, border-color 0.18s ease;
}

body.wm-site:where(.wm-view-single-wm_anketa) .btn-main:hover{
    background: var(--accent-hover);
    border-color: var(--accent-hover);
}

body.wm-site:where(.wm-view-single-wm_anketa) .btn-icon{
    width: 44px;
    height: 44px;
    border-radius: 999px;
    background: rgba(255,255,255,0.055);
    border: 1px solid var(--single-border);
    display: grid;
    place-items: center;
    cursor: pointer;
    text-decoration: none;
}

body.wm-site:where(.wm-view-single-wm_anketa) .btn-icon svg{
    width: 20px;
    height: 20px;
    display: block;
}

body.wm-site:where(.wm-view-single-wm_anketa) .btn-icon.wa{
    background: rgba(91, 191, 58, 0.12);
    border-color: rgba(91, 191, 58, 0.55);
}

body.wm-site:where(.wm-view-single-wm_anketa) .btn-icon.wa:hover{
    background: rgba(91, 191, 58, 0.22);
    border-color: rgba(91, 191, 58, 0.85);
}

body.wm-site:where(.wm-view-single-wm_anketa) .btn-icon.wa svg,
body.wm-site:where(.wm-view-single-wm_anketa) .btn-icon.wa svg path{
    stroke: var(--wa) !important;
}

body.wm-site:where(.wm-view-single-wm_anketa) .btn-icon.tg{
    background: rgba(42, 166, 255, 0.12);
    border-color: rgba(42, 166, 255, 0.55);
}

body.wm-site:where(.wm-view-single-wm_anketa) .btn-icon.tg:hover{
    background: rgba(42, 166, 255, 0.22);
    border-color: rgba(42, 166, 255, 0.85);
}

body.wm-site:where(.wm-view-single-wm_anketa) .btn-icon.tg svg,
body.wm-site:where(.wm-view-single-wm_anketa) .btn-icon.tg svg path{
    stroke: var(--tg) !important;
}

body.wm-site:where(.wm-view-single-wm_anketa) .prices{
    margin-top: 12px;
    background: rgba(255,255,255,0.055);
    border: 1px solid rgba(255,255,255,0.09);
    border-radius: var(--radius-md);
    padding: 13px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px 18px;
}

body.wm-site:where(.wm-view-single-wm_anketa) .price{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    font-size: 13px;
}

body.wm-site:where(.wm-view-single-wm_anketa) .meta{
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255,255,255,0.56);
    white-space: nowrap;
}

body.wm-site:where(.wm-view-single-wm_anketa) .amount{
    font-weight: 900;
    font-variant-numeric: tabular-nums;
}

body.wm-site:where(.wm-view-single-wm_anketa) .amount.hot{
    color: var(--accent-hover);
}

body.wm-site:where(.wm-view-single-wm_anketa) .amount.no{
    color: var(--single-soft);
}

/* Fancybox watermark */

body.wm-site:where(.wm-view-single-wm_anketa) .fancybox__content::after{
    content: "Miracle-ladies";
    position: absolute;
    left: 12px;
    right: 12px;
    top: 50%;
    z-index: 2;
    color: rgba(255,255,255,0.1);
    font-size: 40px;
    line-height: 1;
    font-weight: 950;
    text-align: center;
    white-space: nowrap;
    pointer-events: none;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* ============================================================
   АДАПТИВ
============================================================ */

@media (max-width: 1200px) {
    body.wm-site:where(.wm-view-single-wm_anketa) .anketa-single-layout{
        grid-template-columns: minmax(0, 1.6fr) minmax(340px, 1fr);
    }

    body.wm-site:where(.wm-view-single-wm_anketa) .media{
        height: 420px;
    }

    body.wm-site:where(.wm-view-single-wm_anketa) .top{
        flex-direction: column;
    }

    body.wm-site:where(.wm-view-single-wm_anketa) .stats{
        width: 100%;
        flex-direction: row;
        flex-wrap: wrap;
    }

    body.wm-site:where(.wm-view-single-wm_anketa) .stat{
        flex: 1 1 calc(25% - 8px);
    }
}

@media (max-width: 1024px) {
    body.wm-site:where(.wm-view-single-wm_anketa) .anketa-single-layout{
        grid-template-columns: 1fr;
    }

    body.wm-site:where(.wm-view-single-wm_anketa) .anketa-single-left{
        position: static;
        max-height: none;
        overflow: visible;
    }

    body.wm-site:where(.wm-view-single-wm_anketa) .anketa-single-card{
        padding: 14px;
    }
}

@media (max-width: 768px) {
    body.wm-site:where(.wm-view-single-wm_anketa) .anketa-single-wrapper{
        padding: 20px 12px;
    }

    body.wm-site:where(.wm-view-single-wm_anketa) .anketa-nav-container{
        flex-direction: column;
        align-items: stretch;
    }

    body.wm-site:where(.wm-view-single-wm_anketa) .anketa-nav-btn{
        width: 100%;
        justify-content: space-between;
    }

    body.wm-site:where(.wm-view-single-wm_anketa) .anketa-single-card{
        border-radius: var(--radius-md);
    }

    body.wm-site:where(.wm-view-single-wm_anketa) .anketa-gallery-grid{
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 8px;
    }

    body.wm-site:where(.wm-view-single-wm_anketa) .anketa-gallery-item.is-hidden-mobile{
        display: none !important;
    }

    body.wm-site:where(.wm-view-single-wm_anketa) .anketa-gallery-more-btn{
        display: block;
    }

    body.wm-site:where(.wm-view-single-wm_anketa) .anketa-right-header-top{
        flex-direction: column;
    }

    body.wm-site:where(.wm-view-single-wm_anketa) .anketa-header-actions{
        width: 100%;
        justify-content: space-between;
    }

    body.wm-site:where(.wm-view-single-wm_anketa) .anketa-contact-buttons{
        grid-template-columns: 1fr;
    }

    body.wm-site:where(.wm-view-single-wm_anketa) .anketa-single-description,
body.wm-site:where(.wm-view-single-wm_anketa) .anketa-single-services,
body.wm-site:where(.wm-view-single-wm_anketa) .anketa-single-reviews{
        padding: 16px;
    }

    body.wm-site:where(.wm-view-single-wm_anketa) .anketa-single-services-list{
        grid-template-columns: 1fr;
    }

    body.wm-site:where(.wm-view-single-wm_anketa) .anketa-single-footer{
        text-align: center;
    }

    body.wm-site:where(.wm-view-single-wm_anketa) .anketa-single-back{
        width: 100%;
        justify-content: center;
    }

    body.wm-site:where(.wm-view-single-wm_anketa) .similar-ankety-section{
        padding: 28px 12px 40px;
    }

    body.wm-site:where(.wm-view-single-wm_anketa) .similar-swiper{
        padding: 0 8px 44px;
    }

    body.wm-site:where(.wm-view-single-wm_anketa) .media{
        height: 500px;
    }

    body.wm-site:where(.wm-view-single-wm_anketa) .prices{
        grid-template-columns: 1fr;
    }

    body.wm-site:where(.wm-view-single-wm_anketa) .fancybox__content::after{
        font-size: 22px;
    }
}

@media (max-width: 520px) {
    body.wm-site:where(.wm-view-single-wm_anketa) .anketa-single-title{
        font-size: 25px;
    }

    body.wm-site:where(.wm-view-single-wm_anketa) .anketa-gallery-grid{
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

    body.wm-site:where(.wm-view-single-wm_anketa) .anketa-gallery-item::after{
        font-size: 18px;
        letter-spacing: 1px;
    }

    body.wm-site:where(.wm-view-single-wm_anketa) .anketa-info-row,
body.wm-site:where(.wm-view-single-wm_anketa) .anketa-price-row{
        align-items: flex-start;
    }

    body.wm-site:where(.wm-view-single-wm_anketa) .media{
        height: 430px;
    }

    body.wm-site:where(.wm-view-single-wm_anketa) .stat{
        flex: 1 1 calc(50% - 8px);
    }

    body.wm-site:where(.wm-view-single-wm_anketa) .actions{
        gap: 8px;
    }

    body.wm-site:where(.wm-view-single-wm_anketa) .btn-icon{
        width: 42px;
        height: 42px;
    }
}

@media (max-width: 420px) {
    body.wm-site:where(.wm-view-single-wm_anketa) .media{
        height: 390px;
    }

    body.wm-site:where(.wm-view-single-wm_anketa) .anketa-btn{
        font-size: 13px;
    }

    body.wm-site:where(.wm-view-single-wm_anketa) .anketa-single-services-list li{
        padding-right: 10px;
    }
}
/* ========== КОНЕЦ: Шаблон: single-wm_anketa ========== */



/* ========== НАЧАЛО: Шаблон: template-indi, template-verified ========== */
/* Стили для сворачиваемых блоков таксономий (вертикальное расположение) */
body.wm-site:where(.wm-view-template-indi,.wm-view-template-verified) .wm-filter-row--taxonomies{
    margin-bottom: 20px;
}
body.wm-site:where(.wm-view-template-indi,.wm-view-template-verified) .wm-filter-block--taxonomies{
    display: flex;
    flex-direction: column;
    gap: 10px;
}
body.wm-site:where(.wm-view-template-indi,.wm-view-template-verified) .wm-tax-item{
    background: rgba(0, 0, 0, 0.2);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 10px 12px;
}
body.wm-site:where(.wm-view-template-indi,.wm-view-template-verified) .wm-tax-header{
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    user-select: none;
}
body.wm-site:where(.wm-view-template-indi,.wm-view-template-verified) .wm-tax-label{
    font-weight: 600;
    color: #fff;
    font-size: 14px;
}
body.wm-site:where(.wm-view-template-indi,.wm-view-template-verified) .wm-collapse-btn{
    background: transparent;
    border: none;
    color: #fff;
    font-size: 20px;
    line-height: 1;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border-radius: 4px;
    transition: background 0.2s;
}
body.wm-site:where(.wm-view-template-indi,.wm-view-template-verified) .wm-collapse-btn:hover{
    background: rgba(255, 255, 255, 0.1);
}
body.wm-site:where(.wm-view-template-indi,.wm-view-template-verified) .wm-collapse-content{
    transition: max-height 0.3s ease, opacity 0.3s ease, margin 0.3s ease;
    overflow: hidden;
    opacity: 1;
}
body.wm-site:where(.wm-view-template-indi,.wm-view-template-verified) .wm-collapse-content.collapsed{
    max-height: 0 !important;
    opacity: 0;
    margin-top: 0;
}
body.wm-site:where(.wm-view-template-indi,.wm-view-template-verified) .wm-tax-links{
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-top: 8px;
}
body.wm-site:where(.wm-view-template-indi,.wm-view-template-verified) .wm-tax-link{
    color: #ccc;
    text-decoration: none;
    font-size: 13px;
    padding: 4px 0;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.1);
    transition: color 0.2s;
}
body.wm-site:where(.wm-view-template-indi,.wm-view-template-verified) .wm-tax-link:hover{
    color: var(--accent);
}

body.wm-site:where(.wm-view-template-indi,.wm-view-template-verified) .wm-districts-links{
    margin-top: 10px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
body.wm-site:where(.wm-view-template-indi,.wm-view-template-verified) .wm-district-link{
    display: inline-block;
    padding: 6px 12px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 20px;
    color: #fff;
    text-decoration: none;
    font-size: 13px;
    transition: 0.2s;
}
body.wm-site:where(.wm-view-template-indi,.wm-view-template-verified) .wm-district-link:hover{
    background: var(--accent);
    border-color: var(--accent);
}
/* Стили для блока районов (аналогично услугам) */
body.wm-site:where(.wm-view-template-indi,.wm-view-template-verified) .wm-filter-row--districts{
    grid-template-columns: 1fr;
    margin-bottom: 14px;
}
/* ========== КОНЕЦ: Шаблон: template-indi, template-verified ========== */



/* ========== НАЧАЛО: Шаблон: template-new ========== */
/* Кнопка "Показать ещё" */
body.wm-site:where(.wm-view-template-new) .wm-load-more-wrap{
    display: flex;
    justify-content: center;
    width: 100%;
    margin-top: 32px;
}

body.wm-site:where(.wm-view-template-new) .wm-load-more{
    min-width: 230px;
    min-height: 48px;
    padding: 12px 28px;
    cursor: pointer;
}

body.wm-site:where(.wm-view-template-new) .wm-load-more:disabled{
    opacity: 0.65;
    cursor: default;
}

/* Стили для сворачиваемых блоков таксономий (вертикальное расположение) */
body.wm-site:where(.wm-view-template-new) .wm-filter-row--taxonomies{
    margin-bottom: 20px;
}
body.wm-site:where(.wm-view-template-new) .wm-filter-block--taxonomies{
    display: flex;
    flex-direction: column;
    gap: 10px;
}
body.wm-site:where(.wm-view-template-new) .wm-tax-item{
    background: rgba(0, 0, 0, 0.2);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 10px 12px;
}
body.wm-site:where(.wm-view-template-new) .wm-tax-header{
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    user-select: none;
}
body.wm-site:where(.wm-view-template-new) .wm-tax-label{
    font-weight: 600;
    color: #fff;
    font-size: 14px;
}
body.wm-site:where(.wm-view-template-new) .wm-collapse-btn{
    background: transparent;
    border: none;
    color: #fff;
    font-size: 20px;
    line-height: 1;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border-radius: 4px;
    transition: background 0.2s;
}
body.wm-site:where(.wm-view-template-new) .wm-collapse-btn:hover{
    background: rgba(255, 255, 255, 0.1);
}
body.wm-site:where(.wm-view-template-new) .wm-collapse-content{
    transition: max-height 0.3s ease, opacity 0.3s ease, margin 0.3s ease;
    overflow: hidden;
    opacity: 1;
}
body.wm-site:where(.wm-view-template-new) .wm-collapse-content.collapsed{
    max-height: 0 !important;
    opacity: 0;
    margin-top: 0;
}
body.wm-site:where(.wm-view-template-new) .wm-tax-links{
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-top: 8px;
}
body.wm-site:where(.wm-view-template-new) .wm-tax-link{
    color: #ccc;
    text-decoration: none;
    font-size: 13px;
    padding: 4px 0;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.1);
    transition: color 0.2s;
}
body.wm-site:where(.wm-view-template-new) .wm-tax-link:hover{
    color: var(--accent);
}

body.wm-site:where(.wm-view-template-new) .wm-districts-links{
    margin-top: 10px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
body.wm-site:where(.wm-view-template-new) .wm-district-link{
    display: inline-block;
    padding: 6px 12px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 20px;
    color: #fff;
    text-decoration: none;
    font-size: 13px;
    transition: 0.2s;
}
body.wm-site:where(.wm-view-template-new) .wm-district-link:hover{
    background: var(--accent);
    border-color: var(--accent);
}
/* Стили для блока районов (аналогично услугам) */
body.wm-site:where(.wm-view-template-new) .wm-filter-row--districts{
    grid-template-columns: 1fr;
    margin-bottom: 14px;
}

/* Адаптация для мобильных (если потребуется) */
@media (max-width: 768px) {
    /* при необходимости */
}
/* ========== КОНЕЦ: Шаблон: template-new ========== */



/* ========== НАЧАЛО: Шаблон: template-video ========== */
/* Кнопка "Показать ещё" */
body.wm-site:where(.wm-view-template-video) .wm-load-more-wrap{
    display: flex;
    justify-content: center;
    width: 100%;
    margin-top: 32px;
}

body.wm-site:where(.wm-view-template-video) .wm-load-more{
    min-width: 230px;
    min-height: 48px;
    padding: 12px 28px;
    cursor: pointer;
}

body.wm-site:where(.wm-view-template-video) .wm-load-more:disabled{
    opacity: 0.65;
    cursor: default;
}

/* Стили для сворачиваемых блоков таксономий (вертикальное расположение) */
body.wm-site:where(.wm-view-template-video) .wm-filter-row--taxonomies{
    margin-bottom: 20px;
}
body.wm-site:where(.wm-view-template-video) .wm-filter-block--taxonomies{
    display: flex;
    flex-direction: column;
    gap: 10px;
}
body.wm-site:where(.wm-view-template-video) .wm-tax-item{
    background: rgba(0, 0, 0, 0.2);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 10px 12px;
}
body.wm-site:where(.wm-view-template-video) .wm-tax-header{
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    user-select: none;
}
body.wm-site:where(.wm-view-template-video) .wm-tax-label{
    font-weight: 600;
    color: #fff;
    font-size: 14px;
}
body.wm-site:where(.wm-view-template-video) .wm-collapse-btn{
    background: transparent;
    border: none;
    color: #fff;
    font-size: 20px;
    line-height: 1;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border-radius: 4px;
    transition: background 0.2s;
}
body.wm-site:where(.wm-view-template-video) .wm-collapse-btn:hover{
    background: rgba(255, 255, 255, 0.1);
}
body.wm-site:where(.wm-view-template-video) .wm-collapse-content{
    transition: max-height 0.3s ease, opacity 0.3s ease, margin 0.3s ease;
    overflow: hidden;
    opacity: 1;
}
body.wm-site:where(.wm-view-template-video) .wm-collapse-content.collapsed{
    max-height: 0 !important;
    opacity: 0;
    margin-top: 0;
}
body.wm-site:where(.wm-view-template-video) .wm-tax-links{
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-top: 8px;
}
body.wm-site:where(.wm-view-template-video) .wm-tax-link{
    color: #ccc;
    text-decoration: none;
    font-size: 13px;
    padding: 4px 0;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.1);
    transition: color 0.2s;
}
body.wm-site:where(.wm-view-template-video) .wm-tax-link:hover{
    color: var(--accent);
}

body.wm-site:where(.wm-view-template-video) .wm-districts-links{
    margin-top: 10px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
body.wm-site:where(.wm-view-template-video) .wm-district-link{
    display: inline-block;
    padding: 6px 12px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 20px;
    color: #fff;
    text-decoration: none;
    font-size: 13px;
    transition: 0.2s;
}
body.wm-site:where(.wm-view-template-video) .wm-district-link:hover{
    background: var(--accent);
    border-color: var(--accent);
}
/* Стили для блока районов (аналогично услугам) */
body.wm-site:where(.wm-view-template-video) .wm-filter-row--districts{
    grid-template-columns: 1fr;
    margin-bottom: 14px;
}
/* ========== КОНЕЦ: Шаблон: template-video ========== */



/* ========== НАЧАЛО: Шаблон: terms-template ========== */
/* ============================================================
   TERMS PAGE — MIRACLE STYLE
============================================================ */

body.wm-site:where(.wm-view-terms-template) .terms-wrapper{
    position: relative;
    min-height: calc(100vh - 80px);
    padding: 44px 20px 64px;
    background:
        radial-gradient(circle at top left, rgba(196, 69, 92, 0.10), transparent 420px),
        radial-gradient(circle at top right, rgba(196, 69, 92, 0.07), transparent 360px),
        var(--bg-body, #1a1a1a);
    color: #ffffff;
    overflow: hidden;
}

body.wm-site:where(.wm-view-terms-template) .terms-wrapper::before{
    content: "MIRACLE";
    position: absolute;
    right: -24px;
    top: 60px;
    color: rgba(255, 255, 255, 0.025);
    font-size: clamp(70px, 12vw, 180px);
    line-height: 1;
    font-weight: 950;
    letter-spacing: 12px;
    pointer-events: none;
}

body.wm-site:where(.wm-view-terms-template) .terms-container{
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1350px;
    margin: 0 auto;
}

/* Верхний заголовок */

body.wm-site:where(.wm-view-terms-template) .terms-hero{
    max-width: 920px;
    margin-bottom: 34px;
}

body.wm-site:where(.wm-view-terms-template) .terms-kicker{
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 7px 13px;
    margin-bottom: 18px;
    border-radius: 999px;
    background: rgba(196, 69, 92, 0.14);
    border: 1px solid rgba(196, 69, 92, 0.34);
    color: var(--accent-hover, #d75970);
    font-size: 13px;
    line-height: 1;
    font-weight: 850;
    letter-spacing: 0.4px;
    text-transform: uppercase;
}

body.wm-site:where(.wm-view-terms-template) .terms-title{
    margin: 0;
    max-width: 980px;
    color: #ffffff;
    font-size: clamp(34px, 4.2vw, 58px);
    line-height: 0.98;
    font-weight: 950;
    letter-spacing: -0.06em;
    text-transform: none;
}

body.wm-site:where(.wm-view-terms-template) .last-updated{
    display: inline-flex;
    align-items: center;
    margin-top: 18px;
    padding: 9px 13px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.045);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.62);
    font-size: 13px;
    line-height: 1.2;
    font-weight: 650;
}

/* Контент без большой рамки */

body.wm-site:where(.wm-view-terms-template) .terms-content{
    width: 100%;
    max-width: 100%;
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 0;
    line-height: 1.7;
}

body.wm-site:where(.wm-view-terms-template) .terms-sections{
    display: grid;
    gap: 18px;
}

/* Секции */

body.wm-site:where(.wm-view-terms-template) .terms-section{
    position: relative;
    padding: 26px 28px;
    border-radius: var(--radius-xl, 24px);
    background:
        radial-gradient(circle at top right, rgba(196, 69, 92, 0.08), transparent 280px),
        linear-gradient(180deg, rgba(255,255,255,0.038), rgba(255,255,255,0.012)),
        var(--bg-panel, #232220);
    border: 1px solid rgba(255, 255, 255, 0.08);
    overflow: hidden;
}

body.wm-site:where(.wm-view-terms-template) .terms-section::before{
    content: "";
    position: absolute;
    left: 22px;
    right: 22px;
    top: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent, #c4455c), transparent);
    opacity: 0.75;
}

body.wm-site:where(.wm-view-terms-template) .terms-section:last-child{
    margin-bottom: 0;
}

body.wm-site:where(.wm-view-terms-template) .section-title{
    position: relative;
    margin: 0 0 20px;
    padding-bottom: 14px;
    color: #ffffff;
    font-size: 23px;
    line-height: 1.25;
    font-weight: 900;
    letter-spacing: -0.025em;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

body.wm-site:where(.wm-view-terms-template) .section-title::after{
    content: "";
    position: absolute;
    left: 0;
    bottom: -1px;
    width: 72px;
    height: 1px;
    background: var(--accent, #c4455c);
}

body.wm-site:where(.wm-view-terms-template) .section-number{
    color: var(--accent-hover, #d75970);
    font-weight: 950;
    margin-right: 8px;
}

body.wm-site:where(.wm-view-terms-template) .subsection{
    margin-bottom: 22px;
}

body.wm-site:where(.wm-view-terms-template) .subsection:last-child{
    margin-bottom: 0;
}

body.wm-site:where(.wm-view-terms-template) .subsection-title{
    position: relative;
    margin: 0 0 13px;
    padding-left: 18px;
    color: rgba(255, 255, 255, 0.92);
    font-size: 17px;
    line-height: 1.5;
    font-weight: 800;
}

body.wm-site:where(.wm-view-terms-template) .subsection-title::before{
    content: "";
    position: absolute;
    left: 0;
    top: 11px;
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: var(--accent, #c4455c);
}

/* Текст */

body.wm-site:where(.wm-view-terms-template) .terms-text{
    margin: 0 0 13px;
    color: rgba(255, 255, 255, 0.72);
    font-size: 15px;
    line-height: 1.75;
}

body.wm-site:where(.wm-view-terms-template) .terms-text:last-child{
    margin-bottom: 0;
}

body.wm-site:where(.wm-view-terms-template) .terms-text strong{
    color: rgba(255, 255, 255, 0.94);
    font-weight: 850;
}

body.wm-site:where(.wm-view-terms-template) .terms-link{
    color: var(--accent-hover, #d75970);
    text-decoration: none;
    font-weight: 750;
    border-bottom: 1px solid rgba(215, 89, 112, 0.45);
    transition: color 0.18s ease, border-color 0.18s ease;
}

body.wm-site:where(.wm-view-terms-template) .terms-link:hover{
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.55);
}

/* Списки */

body.wm-site:where(.wm-view-terms-template) .numbered-list{
    list-style: none;
    padding-left: 0;
    margin: 14px 0 0;
    counter-reset: termsItem;
    display: grid;
    gap: 10px;
}

body.wm-site:where(.wm-view-terms-template) .numbered-item{
    position: relative;
    min-height: 38px;
    padding: 10px 12px 10px 48px;
    border-radius: var(--radius-md, 14px);
    background: rgba(0, 0, 0, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.055);
    color: rgba(255, 255, 255, 0.72);
    font-size: 15px;
    line-height: 1.55;
    counter-increment: termsItem;
}

body.wm-site:where(.wm-view-terms-template) .numbered-item::before{
    content: counter(termsItem);
    position: absolute;
    left: 12px;
    top: 9px;
    width: 25px;
    height: 25px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(196, 69, 92, 0.14);
    border: 1px solid rgba(196, 69, 92, 0.34);
    color: var(--accent-hover, #d75970);
    font-size: 12px;
    line-height: 1;
    font-weight: 900;
}

/* Контакты */

body.wm-site:where(.wm-view-terms-template) .contact-info{
    margin-top: 18px;
    padding: 18px;
    display: flex;
    align-items: center;
    gap: 16px;
    border-radius: var(--radius-lg, 20px);
    background:
        radial-gradient(circle at top left, rgba(196, 69, 92, 0.12), transparent 240px),
        rgba(0, 0, 0, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.075);
}

body.wm-site:where(.wm-view-terms-template) .contact-info__icon{
    width: 52px;
    height: 52px;
    flex: 0 0 auto;
    border-radius: 16px;
    color: var(--accent-hover, #d75970);
    background: rgba(196, 69, 92, 0.13);
    border: 1px solid rgba(196, 69, 92, 0.30);
    display: flex;
    align-items: center;
    justify-content: center;
}

body.wm-site:where(.wm-view-terms-template) .contact-info__icon svg{
    width: 26px;
    height: 26px;
}

body.wm-site:where(.wm-view-terms-template) .contact-info__body{
    min-width: 0;
}

body.wm-site:where(.wm-view-terms-template) .contact-title{
    margin: 0 0 5px;
    color: #ffffff;
    font-size: 16px;
    line-height: 1.3;
    font-weight: 850;
}

body.wm-site:where(.wm-view-terms-template) .contact-email{
    color: var(--accent-hover, #d75970);
    font-size: 16px;
    line-height: 1.3;
    font-weight: 750;
    text-decoration: none;
    overflow-wrap: anywhere;
    transition: color 0.18s ease;
}

body.wm-site:where(.wm-view-terms-template) .contact-email:hover{
    color: #ffffff;
}

/* Адаптив */

@media (max-width: 1024px) {
    body.wm-site:where(.wm-view-terms-template) .terms-wrapper{
        padding: 36px 16px 54px;
    }

    body.wm-site:where(.wm-view-terms-template) .terms-section{
        padding: 24px 22px;
    }
}

@media (max-width: 768px) {
    body.wm-site:where(.wm-view-terms-template) .terms-wrapper{
        padding: 28px 14px 42px;
    }

    body.wm-site:where(.wm-view-terms-template) .terms-hero{
        margin-bottom: 24px;
    }

    body.wm-site:where(.wm-view-terms-template) .terms-title{
        font-size: 34px;
        line-height: 1;
    }

    body.wm-site:where(.wm-view-terms-template) .last-updated{
        font-size: 12px;
    }

    body.wm-site:where(.wm-view-terms-template) .terms-sections{
        gap: 14px;
    }

    body.wm-site:where(.wm-view-terms-template) .terms-section{
        padding: 22px 18px;
        border-radius: var(--radius-lg, 20px);
    }

    body.wm-site:where(.wm-view-terms-template) .section-title{
        font-size: 21px;
        line-height: 1.3;
    }

    body.wm-site:where(.wm-view-terms-template) .subsection-title{
        font-size: 16px;
    }

    body.wm-site:where(.wm-view-terms-template) .terms-text,
body.wm-site:where(.wm-view-terms-template) .numbered-item{
        font-size: 14px;
    }

    body.wm-site:where(.wm-view-terms-template) .contact-info{
        align-items: flex-start;
    }
}

@media (max-width: 480px) {
    body.wm-site:where(.wm-view-terms-template) .terms-wrapper{
        padding-left: 10px;
        padding-right: 10px;
    }

    body.wm-site:where(.wm-view-terms-template) .terms-kicker{
        font-size: 12px;
    }

    body.wm-site:where(.wm-view-terms-template) .terms-title{
        font-size: 30px;
    }

    body.wm-site:where(.wm-view-terms-template) .terms-section{
        padding: 20px 14px;
    }

    body.wm-site:where(.wm-view-terms-template) .section-title{
        font-size: 20px;
    }

    body.wm-site:where(.wm-view-terms-template) .numbered-item{
        padding-left: 44px;
    }

    body.wm-site:where(.wm-view-terms-template) .contact-info{
        flex-direction: column;
        gap: 12px;
    }
}
/* ========== КОНЕЦ: Шаблон: terms-template ========== */



/* ========== НАЧАЛО: Шаблон: test_functional ========== */
body.wm-site:where(.wm-view-test_functional) *{
        margin: 0;
        padding: 0;
        box-sizing: border-box;
        font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    }
    
    /* Основной контейнер как в TikTok */
    body.wm-site:where(.wm-view-test_functional) .tiktok-container{
        position: relative;
        width: 550px; /* Фиксированная ширина как в мобильном TikTok */
        height: 100vh;
        max-height: 812px; /* Максимальная высота как у iPhone */
        background: #000;
        border-radius: 20px;
        overflow: hidden;
        box-shadow: 0 20px 60px rgba(255, 20, 147, 0.15);
        margin: 20px auto;
        border: 1px solid rgba(255, 20, 147, 0.2);
    }
    
    body.wm-site:where(.wm-view-test_functional) .tiktok-feed{
        position: relative;
        width: 100%;
        height: 100%;
        overflow-y: scroll;
        scroll-snap-type: y mandatory;
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;
    }
    
    body.wm-site:where(.wm-view-test_functional) .video-slide{
        position: relative;
        width: 100%;
        height: 100%;
        scroll-snap-align: start;
        display: flex;
        align-items: center;
        justify-content: center;
        overflow: hidden;
        background: #000;
    }
    
    /* Видео контейнер */
    body.wm-site:where(.wm-view-test_functional) .video-container{
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: 1;
    }
    
    body.wm-site:where(.wm-view-test_functional) .video-container video{
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.3s ease;
    }
    
    body.wm-site:where(.wm-view-test_functional) .video-container:hover video{
        transform: scale(1.02);
    }
    
    /* Градиентные оверлеи */
    body.wm-site:where(.wm-view-test_functional) .video-overlay{
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: linear-gradient(
            to top, 
            rgba(0,0,0,0.9) 0%, 
            rgba(255,20,147,0.1) 20%,
            transparent 40%
        );
        z-index: 2;
    }
    
    body.wm-site:where(.wm-view-test_functional) .bottom-gradient{
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 50%;
        background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, transparent 100%);
        z-index: 2;
    }
    
    /* Контент поверх видео */
    body.wm-site:where(.wm-view-test_functional) .video-content{
        position: relative;
        z-index: 3;
        width: 100%;
        height: 100%;
        padding: 20px;
        display: flex;
        flex-direction: column;
        justify-content: flex-end;
        pointer-events: none;
    }
    
    body.wm-site:where(.wm-view-test_functional) .video-content > *{
        pointer-events: auto;
    }
    
    /* Информация о модели */
    body.wm-site:where(.wm-view-test_functional) .model-info{
        display: flex;
        align-items: center;
        margin-bottom: 20px;
        animation: slideUp 0.5s ease 0.3s forwards;
        opacity: 0;
    }
    
    body.wm-site:where(.wm-view-test_functional) .model-avatar{
        width: 56px;
        height: 56px;
        border-radius: 50%;
        border: 2px solid #ff1493;
        overflow: hidden;
        margin-right: 15px;
        position: relative;
        cursor: pointer;
        transition: all 0.3s ease;
        background: linear-gradient(45deg, #ff1493, #ff69b4);
        padding: 2px;
    }
    
    body.wm-site:where(.wm-view-test_functional) .model-avatar:hover{
        transform: scale(1.05);
        box-shadow: 0 0 20px rgba(255, 20, 147, 0.5);
    }
    
    body.wm-site:where(.wm-view-test_functional) .model-avatar img{
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 50%;
    }
    
    body.wm-site:where(.wm-view-test_functional) .model-status{
        position: absolute;
        bottom: 2px;
        right: 2px;
        width: 12px;
        height: 12px;
        background: #4CAF50;
        border: 2px solid #000;
        border-radius: 50%;
    }
    
    body.wm-site:where(.wm-view-test_functional) .model-details{
        flex: 1;
    }
    
    body.wm-site:where(.wm-view-test_functional) .model-details h3{
        font-size: 18px;
        font-weight: 600;
        margin-bottom: 5px;
        background: linear-gradient(135deg, #ff1493, #ff69b4);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
        display: flex;
        align-items: center;
        gap: 8px;
    }
    
    body.wm-site:where(.wm-view-test_functional) .verified-badge{
        color: #ff1493;
        font-size: 14px;
    }
    
    body.wm-site:where(.wm-view-test_functional) .model-details p{
        font-size: 14px;
        color: rgba(255, 255, 255, 0.8);
        display: flex;
        align-items: center;
        gap: 5px;
    }
    
    body.wm-site:where(.wm-view-test_functional) .follow-btn{
        background: linear-gradient(45deg, #ff1493, #ff69b4);
        color: white;
        border: none;
        padding: 8px 20px;
        border-radius: 20px;
        font-size: 14px;
        font-weight: 600;
        cursor: pointer;
        transition: all 0.3s ease;
        margin-top: 5px;
    }
    
    body.wm-site:where(.wm-view-test_functional) .follow-btn:hover{
        transform: translateY(-2px);
        box-shadow: 0 5px 15px rgba(255, 20, 147, 0.4);
    }
    
    body.wm-site:where(.wm-view-test_functional) .follow-btn.following{
        background: rgba(255, 255, 255, 0.1);
        border: 1px solid rgba(255, 255, 255, 0.3);
    }
    
    /* Описание видео */
    body.wm-site:where(.wm-view-test_functional) .video-description{
        margin-bottom: 25px;
        max-width: 85%;
        animation: slideUp 0.5s ease 0.4s forwards;
        opacity: 0;
    }
    
    body.wm-site:where(.wm-view-test_functional) .video-description p{
        font-size: 16px;
        line-height: 1.5;
        color: #fff;
        margin-bottom: 12px;
    }
    
    body.wm-site:where(.wm-view-test_functional) .video-tags{
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
        margin-top: 15px;
    }
    
    body.wm-site:where(.wm-view-test_functional) .tag{
        background: rgba(255, 20, 147, 0.15);
        color: #ff69b4;
        padding: 6px 14px;
        border-radius: 20px;
        font-size: 13px;
        font-weight: 500;
        backdrop-filter: blur(10px);
        border: 1px solid rgba(255, 20, 147, 0.2);
        transition: all 0.3s ease;
        cursor: pointer;
    }
    
    body.wm-site:where(.wm-view-test_functional) .tag:hover{
        background: rgba(255, 20, 147, 0.25);
        transform: translateY(-2px);
    }
    
    body.wm-site:where(.wm-view-test_functional) .tag.premium{
        background: linear-gradient(45deg, #ff1493, #ffd700);
        color: #000;
        font-weight: 600;
    }
    
    /* Панель действий справа */
    body.wm-site:where(.wm-view-test_functional) .actions-panel{
        position: absolute;
        right: 20px;
        bottom: 120px;
        z-index: 4;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 20px;
        animation: slideInRight 0.5s ease 0.5s forwards;
        opacity: 0;
    }
    
    body.wm-site:where(.wm-view-test_functional) .action-btn{
        display: flex;
        flex-direction: column;
        align-items: center;
        color: #fff;
        background: transparent;
        border: none;
        cursor: pointer;
        transition: all 0.3s ease;
        position: relative;
    }
    
    body.wm-site:where(.wm-view-test_functional) .action-btn:hover{
        transform: translateY(-5px);
    }
    
    body.wm-site:where(.wm-view-test_functional) .action-icon{
        width: 52px;
        height: 52px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-bottom: 8px;
        background: rgba(0, 0, 0, 0.5);
        backdrop-filter: blur(10px);
        border: 1px solid rgba(255, 255, 255, 0.1);
        transition: all 0.3s ease;
        font-size: 20px;
    }
    
    body.wm-site:where(.wm-view-test_functional) .action-btn:hover .action-icon{
        background: rgba(255, 20, 147, 0.3);
        border-color: #ff1493;
        transform: scale(1.1);
    }
    
    body.wm-site:where(.wm-view-test_functional) .action-btn.liked .action-icon{
        background: rgba(255, 20, 147, 0.3);
        border-color: #ff1493;
    }
    
    body.wm-site:where(.wm-view-test_functional) .action-btn.liked i{
        color: #ff1493 !important;
    }
    
    body.wm-site:where(.wm-view-test_functional) .action-count{
        font-size: 13px;
        font-weight: 600;
        color: rgba(255, 255, 255, 0.9);
        text-shadow: 0 1px 2px rgba(0,0,0,0.5);
    }
    
    body.wm-site:where(.wm-view-test_functional) .action-btn .pulse-effect{
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        border-radius: 50%;
        background: rgba(255, 20, 147, 0.3);
        animation: pulse 0.5s ease-out;
        opacity: 0;
    }
    
    /* Панель навигации */
    body.wm-site:where(.wm-view-test_functional) .nav-indicator{
        position: absolute;
        right: 20px;
        top: 50%;
        transform: translateY(-50%);
        z-index: 10;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }
    
    body.wm-site:where(.wm-view-test_functional) .nav-dot{
        width: 10px;
        height: 10px;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.2);
        transition: all 0.3s ease;
        cursor: pointer;
        position: relative;
    }
    
    body.wm-site:where(.wm-view-test_functional) .nav-dot:hover{
        background: rgba(255, 20, 147, 0.5);
        transform: scale(1.3);
    }
    
    body.wm-site:where(.wm-view-test_functional) .nav-dot.active{
        background: #ff1493;
        transform: scale(1.3);
        box-shadow: 0 0 10px rgba(255, 20, 147, 0.5);
    }
    
    body.wm-site:where(.wm-view-test_functional) .nav-dot.active::after{
        content: '';
        position: absolute;
        top: -4px;
        left: -4px;
        right: -4px;
        bottom: -4px;
        border: 1px solid #ff1493;
        border-radius: 50%;
        animation: pulseDot 2s infinite;
    }
    
    /* Хедер */
    body.wm-site:where(.wm-view-test_functional) .tiktok-header{
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        padding: 20px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        z-index: 10;
        background: linear-gradient(to bottom, rgba(0,0,0,0.8), transparent);
    }
    
    body.wm-site:where(.wm-view-test_functional) .logo{
        font-size: 26px;
        font-weight: 700;
        background: linear-gradient(135deg, #ff1493, #ff69b4);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
        letter-spacing: 1px;
    }
    
    body.wm-site:where(.wm-view-test_functional) .header-actions{
        display: flex;
        align-items: center;
        gap: 20px;
    }
    
    body.wm-site:where(.wm-view-test_functional) .header-btn{
        background: rgba(255, 255, 255, 0.1);
        border: none;
        width: 40px;
        height: 40px;
        border-radius: 50%;
        color: #fff;
        font-size: 18px;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: all 0.3s ease;
        backdrop-filter: blur(10px);
    }
    
    body.wm-site:where(.wm-view-test_functional) .header-btn:hover{
        background: rgba(255, 20, 147, 0.3);
        transform: translateY(-2px);
    }
    
    /* Прогресс бар видео */
    body.wm-site:where(.wm-view-test_functional) .video-progress{
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 3px;
        background: rgba(255, 255, 255, 0.1);
        z-index: 5;
    }
    
    body.wm-site:where(.wm-view-test_functional) .progress-bar{
        height: 100%;
        background: linear-gradient(90deg, #ff1493, #ff69b4);
        width: 0%;
        transition: width 0.1s linear;
        border-radius: 0 2px 2px 0;
    }
    
    /* Индикатор звука */
    body.wm-site:where(.wm-view-test_functional) .sound-indicator{
        position: absolute;
        top: 80px;
        right: 20px;
        z-index: 3;
        background: rgba(0, 0, 0, 0.7);
        border-radius: 20px;
        padding: 8px 16px;
        display: flex;
        align-items: center;
        gap: 10px;
        font-size: 14px;
        color: #fff;
        backdrop-filter: blur(10px);
        border: 1px solid rgba(255, 255, 255, 0.1);
        transition: all 0.3s ease;
        opacity: 0.8;
    }
    
    body.wm-site:where(.wm-view-test_functional) .sound-indicator:hover{
        opacity: 1;
        transform: translateY(-2px);
    }
    
    /* Премиум бейдж */
    body.wm-site:where(.wm-view-test_functional) .premium-badge{
        position: absolute;
        top: 20px;
        left: 20px;
        background: linear-gradient(45deg, #ffd700, #ff69b4);
        color: #000;
        padding: 6px 15px;
        border-radius: 15px;
        font-size: 12px;
        font-weight: 600;
        z-index: 3;
        display: flex;
        align-items: center;
        gap: 6px;
        animation: slideInLeft 0.5s ease 0.2s forwards;
        opacity: 0;
    }
    
    /* Анимации */
    @keyframes slideUp {
        from {
            opacity: 0;
            transform: translateY(30px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
    
    @keyframes slideInRight {
        from {
            opacity: 0;
            transform: translateX(30px);
        }
        to {
            opacity: 1;
            transform: translateX(0);
        }
    }
    
    @keyframes slideInLeft {
        from {
            opacity: 0;
            transform: translateX(-30px);
        }
        to {
            opacity: 1;
            transform: translateX(0);
        }
    }
    
    @keyframes pulse {
        0% {
            transform: scale(0.8);
            opacity: 0.7;
        }
        100% {
            transform: scale(2);
            opacity: 0;
        }
    }
    
    @keyframes pulseDot {
        0%, 100% {
            opacity: 1;
            transform: scale(1);
        }
        50% {
            opacity: 0.5;
            transform: scale(1.1);
        }
    }
    
    /* Эффект паузы */
    body.wm-site:where(.wm-view-test_functional) .pause-overlay{
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        display: flex;
        align-items: center;
        justify-content: center;
        opacity: 0;
        transition: opacity 0.3s ease;
        z-index: 2;
        pointer-events: none;
    }
    
    body.wm-site:where(.wm-view-test_functional) .video-container:hover .pause-overlay{
        opacity: 1;
    }
    
    body.wm-site:where(.wm-view-test_functional) .pause-icon{
        font-size: 60px;
        color: rgba(255, 255, 255, 0.8);
    }
    
    /* Кнопка переключения звука */
    body.wm-site:where(.wm-view-test_functional) .mute-btn{
        position: absolute;
        bottom: 20px;
        left: 20px;
        width: 40px;
        height: 40px;
        background: rgba(0, 0, 0, 0.5);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        color: white;
        border: none;
        cursor: pointer;
        z-index: 3;
        transition: all 0.3s ease;
        backdrop-filter: blur(10px);
    }
    
    body.wm-site:where(.wm-view-test_functional) .mute-btn:hover{
        background: rgba(255, 20, 147, 0.3);
        transform: scale(1.1);
    }
    
    /* Стили для десктопа */
    @media (min-width: 1024px) {
        
        body.wm-site:where(.wm-view-test_functional) .tiktok-container{
            box-shadow: 0 25px 80px rgba(255, 20, 147, 0.25);
            border: 1px solid rgba(255, 20, 147, 0.3);
        }
    }
/* ========== КОНЕЦ: Шаблон: test_functional ========== */



/* ========== НАЧАЛО: Шаблон: footer ========== */
body.wm-site .age-verification{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: none;
}

body.wm-site .age-verification.active{
    display: block;
}

body.wm-site .age-verification__overlay{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

body.wm-site .age-verification__modal{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: linear-gradient(135deg, #141414 0%, #333 100%);
    border-radius: 20px;
    padding: 40px;
    max-width: 500px;
    width: 90%;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    animation: modalAppear 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes modalAppear {
    from {
        opacity: 0;
        transform: translate(-50%, -60%) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
}

body.wm-site .age-verification__content{
    text-align: center;
}

body.wm-site .age-verification__title{
    color: #fff;
    font-size: 28px;
    margin-bottom: 20px;
    font-weight: 600;
}

body.wm-site .age-verification__text{
    color: #ccc;
    font-size: 16px;
    line-height: 1.5;
    margin-bottom: 30px;
}

body.wm-site .age-verification__buttons{
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 20px;
}

body.wm-site .age-verification__button{
    padding: 16px 24px;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

body.wm-site .age-verification__button--confirm{
    background: #c4455c;
    color: white;
}

body.wm-site .age-verification__button--confirm:hover{
    background: #b45d6d;
}

body.wm-site .age-verification__button--decline{
    background: transparent;
    color: #999;
    border: 2px solid #555;
}

body.wm-site .age-verification__button--decline:hover{
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
}

body.wm-site .age-verification__note{
    color: #777;
    font-size: 12px;
    margin-top: 20px;
    line-height: 1.4;
}

/* ============================================================
   КРАСИВЫЕ COOKIES ПОД СТИЛЬ MIRACLE
============================================================ */

body.wm-site .cookie-banner{
    position: fixed;
    left: 0;
    right: 0;
    bottom: -180px;
    z-index: 9999;
    padding: 0 20px 22px;
    opacity: 0;
    pointer-events: none;
    transition: bottom 0.35s ease, opacity 0.35s ease;
}

body.wm-site .cookie-banner.active{
    bottom: 0;
    opacity: 1;
    pointer-events: auto;
}

body.wm-site .cookie-banner__content{
    position: relative;
    width: min(1350px, 100%);
    margin: 0 auto;
    padding: 16px 18px;
    display: grid;
    grid-template-columns: 46px minmax(0, 1fr) auto;
    align-items: center;
    gap: 16px;
    color: #ffffff;
    background:
        radial-gradient(circle at top left, rgba(196, 69, 92, 0.16), transparent 320px),
        linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.015)),
        rgba(35, 34, 32, 0.94);
    border: 1px solid rgba(255, 255, 255, 0.11);
    border-radius: 22px;
    overflow: hidden;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

body.wm-site .cookie-banner__content::before{
    content: "";
    position: absolute;
    left: 18px;
    right: 18px;
    top: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #c4455c, transparent);
    opacity: 0.9;
}

body.wm-site .cookie-banner__icon{
    width: 46px;
    height: 46px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #d75970;
    background: rgba(196, 69, 92, 0.13);
    border: 1px solid rgba(196, 69, 92, 0.32);
    flex: 0 0 auto;
}

body.wm-site .cookie-banner__icon svg{
    width: 25px;
    height: 25px;
    display: block;
}

body.wm-site .cookie-banner__body{
    min-width: 0;
}

body.wm-site .cookie-banner__title{
    margin-bottom: 4px;
    color: #ffffff;
    font-size: 15px;
    line-height: 1.2;
    font-weight: 850;
    letter-spacing: -0.01em;
}

body.wm-site .cookie-banner__text{
    margin: 0;
    max-width: 88ch;
    color: rgba(255, 255, 255, 0.68);
    font-size: 13px;
    line-height: 1.45;
    text-align: left;
}

body.wm-site .cookie-banner__link{
    color: #d75970;
    text-decoration: none;
    font-weight: 750;
    border-bottom: 1px solid rgba(215, 89, 112, 0.45);
    transition: color 0.18s ease, border-color 0.18s ease;
}

body.wm-site .cookie-banner__link:hover{
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.55);
}

body.wm-site .cookie-banner__button{
    min-width: 138px;
    min-height: 44px;
    padding: 12px 22px;
    border: 1px solid #c4455c;
    border-radius: 999px;
    background: #c4455c;
    color: #ffffff;
    font-size: 14px;
    line-height: 1.2;
    font-weight: 850;
    cursor: pointer;
    transition: background 0.18s ease, border-color 0.18s ease;
    white-space: nowrap;
}

body.wm-site .cookie-banner__button:hover{
    background: #d75970;
    border-color: #d75970;
}

/* Стили для кнопки техподдержки */
body.wm-site .footer__support-btn{
    display: inline-block;
    margin-top: 15px;
    padding: 5px 15px;
    background: #c4455c;
    color: white;
    text-decoration: none;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    text-align: center;
}

body.wm-site .footer__support-btn:hover{
    background: transparent;
    border-color: #c4455c;
    color: #c4455c;
}

/* Адаптивность для кнопки */
@media (max-width: 900px) {
    body.wm-site .footer__support-btn{
        width: 100%;
        max-width: 250px;
    }
}

@media (max-width: 768px) {
    body.wm-site .age-verification__modal{
        padding: 30px 20px;
        width: 95%;
    }
    
    body.wm-site .age-verification__title{
        font-size: 24px;
    }
    
    body.wm-site .age-verification__text{
        font-size: 14px;
    }
    
    body.wm-site .age-verification__button{
        padding: 14px 20px;
        font-size: 15px;
    }

    body.wm-site .cookie-banner{
        padding: 0 12px 14px;
        bottom: -240px;
    }

    body.wm-site .cookie-banner.active{
        bottom: 0;
    }
    
    body.wm-site .cookie-banner__content{
        grid-template-columns: 42px minmax(0, 1fr);
        gap: 12px;
        padding: 15px;
        border-radius: 18px;
    }

    body.wm-site .cookie-banner__icon{
        width: 42px;
        height: 42px;
        border-radius: 14px;
    }

    body.wm-site .cookie-banner__body{
        padding-right: 0;
    }

    body.wm-site .cookie-banner__title{
        font-size: 14px;
    }
    
    body.wm-site .cookie-banner__text{
        font-size: 12px;
        line-height: 1.45;
    }
    
    body.wm-site .cookie-banner__button{
        grid-column: 1 / -1;
        width: 100%;
        min-height: 42px;
        padding: 11px 18px;
        font-size: 13px;
        border-radius: 14px;
    }
}

@media (max-width: 480px) {
    body.wm-site .age-verification__title{
        font-size: 22px;
    }
    
    body.wm-site .age-verification__text{
        font-size: 13px;
    }
    
    body.wm-site .cookie-banner{
        padding-left: 10px;
        padding-right: 10px;
        padding-bottom: 12px;
    }

    body.wm-site .cookie-banner__content{
        grid-template-columns: 1fr;
        text-align: center;
        padding: 16px 14px;
    }

    body.wm-site .cookie-banner__icon{
        margin: 0 auto;
    }

    body.wm-site .cookie-banner__text{
        text-align: center;
        font-size: 12px;
    }

    body.wm-site .cookie-banner__button{
        max-width: 100%;
    }
}

body.wm-site #cookie-banner{
    display: none;
}

/* ========== НАЧАЛО: прямые ссылки в новом подвале ========== */
body.wm-site .footer__inner{grid-template-columns:minmax(220px,1.4fr) repeat(5,minmax(105px,1fr));gap:28px;}
body.wm-site .footer__links{display:flex;flex-direction:column;gap:9px;}
body.wm-site .footer__links a{color:rgba(255,255,255,.65);font-size:14px;line-height:1.35;text-decoration:none;transition:color .2s ease,transform .2s ease;}
body.wm-site .footer__links a:hover{color:#fff;transform:translateX(3px);}
body.wm-site .footer__column--group .footer__column-title{white-space:normal;}
@media(max-width:1150px){body.wm-site .footer__inner{grid-template-columns:repeat(3,minmax(0,1fr));}}
@media(max-width:700px){body.wm-site .footer__inner{grid-template-columns:repeat(2,minmax(0,1fr));gap:34px 20px;}body.wm-site .footer__left{grid-column:1/-1;}}
@media(max-width:420px){body.wm-site .footer__inner{grid-template-columns:1fr 1fr;}body.wm-site .footer__column-title{font-size:15px;}}
/* ========== КОНЕЦ: прямые ссылки в новом подвале ========== */



/* ========== НАЧАЛО: Админка: wm ai v4 render training page ========== */
body.wp-admin:is(.wm-admin-view-wm_ai_csv_full_training) .wm-ai-v4-training{ max-width: 1500px; }
                body.wp-admin:is(.wm-admin-view-wm_ai_csv_full_training) .wm-ai-v4-grid{ display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:20px; margin-top:22px; }
                body.wp-admin:is(.wm-admin-view-wm_ai_csv_full_training) .wm-ai-v4-card{ background:#fff; border:1px solid #dcdcde; border-radius:10px; padding:22px; }
                body.wp-admin:is(.wm-admin-view-wm_ai_csv_full_training) .wm-ai-v4-card h2{ margin:0 0 8px; }
                body.wp-admin:is(.wm-admin-view-wm_ai_csv_full_training) .wm-ai-v4-count{ display:flex; align-items:flex-end; gap:8px; margin:18px 0; }
                body.wp-admin:is(.wm-admin-view-wm_ai_csv_full_training) .wm-ai-v4-count strong{ font-size:38px; line-height:1; }
                body.wp-admin:is(.wm-admin-view-wm_ai_csv_full_training) .wm-ai-v4-count span{ color:#646970; padding-bottom:4px; }
                body.wp-admin:is(.wm-admin-view-wm_ai_csv_full_training) .wm-ai-v4-file{ width:100%; padding:14px; background:#f6f7f7; border:1px dashed #a7aaad; border-radius:7px; box-sizing:border-box; }
                body.wp-admin:is(.wm-admin-view-wm_ai_csv_full_training) .wm-ai-v4-actions{ display:flex; flex-wrap:wrap; gap:10px; margin-top:16px; }
                body.wp-admin:is(.wm-admin-view-wm_ai_csv_full_training) .wm-ai-v4-danger{ color:#b32d2e!important; border-color:#b32d2e!important; }
                body.wp-admin:is(.wm-admin-view-wm_ai_csv_full_training) .wm-ai-v4-full{ margin-top:20px; }
                body.wp-admin:is(.wm-admin-view-wm_ai_csv_full_training) .wm-ai-v4-details{ margin-top:20px; background:#fff; border:1px solid #dcdcde; border-radius:10px; overflow:hidden; }
                body.wp-admin:is(.wm-admin-view-wm_ai_csv_full_training) .wm-ai-v4-details summary{ cursor:pointer; padding:17px 20px; font-weight:700; background:#f6f7f7; }
                body.wp-admin:is(.wm-admin-view-wm_ai_csv_full_training) .wm-ai-v4-details-body{ padding:20px; }
                body.wp-admin:is(.wm-admin-view-wm_ai_csv_full_training) .wm-ai-v4-training-list{ max-height:360px; overflow:auto; border:1px solid #dcdcde; border-radius:7px; }
                body.wp-admin:is(.wm-admin-view-wm_ai_csv_full_training) .wm-ai-v4-training-list table{ margin:0; }
                body.wp-admin:is(.wm-admin-view-wm_ai_csv_full_training) .wm-ai-v4-pill{ display:inline-flex; padding:4px 8px; border-radius:20px; background:#f0f0f1; font-size:12px; font-weight:700; }
                @media(max-width:900px){ body.wp-admin:is(.wm-admin-view-wm_ai_csv_full_training) .wm-ai-v4-grid{grid-template-columns:1fr;} }
/* ========== КОНЕЦ: Админка: wm ai v4 render training page ========== */



/* ========== НАЧАЛО: Админка: wm docx desc pro render page ========== */
body.wp-admin:is(.wm-admin-view-wm_docx_desc_pro,.wm-admin-view-wm_docx_desc_pro_ankety) .wm-docx-desc-pro-grid{
                    display: grid;
                    grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
                    gap: 18px;
                    margin-top: 18px;
                }

                body.wp-admin:is(.wm-admin-view-wm_docx_desc_pro,.wm-admin-view-wm_docx_desc_pro_ankety) .wm-docx-desc-pro-box{
                    background: #fff;
                    border: 1px solid #dcdcde;
                    border-radius: 10px;
                    padding: 18px;
                    box-sizing: border-box;
                }

                body.wp-admin:is(.wm-admin-view-wm_docx_desc_pro,.wm-admin-view-wm_docx_desc_pro_ankety) .wm-docx-desc-pro-box h2{
                    margin-top: 0;
                }

                body.wp-admin:is(.wm-admin-view-wm_docx_desc_pro,.wm-admin-view-wm_docx_desc_pro_ankety) .wm-docx-desc-pro-stats{
                    display: grid;
                    grid-template-columns: repeat(4, minmax(0, 1fr));
                    gap: 12px;
                    margin: 18px 0;
                }

                body.wp-admin:is(.wm-admin-view-wm_docx_desc_pro,.wm-admin-view-wm_docx_desc_pro_ankety) .wm-docx-desc-pro-stat{
                    background: #fff;
                    border: 1px solid #dcdcde;
                    border-radius: 10px;
                    padding: 14px;
                }

                body.wp-admin:is(.wm-admin-view-wm_docx_desc_pro,.wm-admin-view-wm_docx_desc_pro_ankety) .wm-docx-desc-pro-stat strong{
                    display: block;
                    font-size: 22px;
                    line-height: 1.2;
                    margin-bottom: 4px;
                }

                body.wp-admin:is(.wm-admin-view-wm_docx_desc_pro,.wm-admin-view-wm_docx_desc_pro_ankety) .wm-docx-desc-pro-muted{
                    color: #646970;
                    font-size: 12px;
                }

                body.wp-admin:is(.wm-admin-view-wm_docx_desc_pro,.wm-admin-view-wm_docx_desc_pro_ankety) .wm-docx-desc-pro-preview{
                    max-height: 260px;
                    overflow: auto;
                    background: #f6f7f7;
                    border: 1px solid #dcdcde;
                    border-radius: 8px;
                    padding: 12px;
                }

                body.wp-admin:is(.wm-admin-view-wm_docx_desc_pro,.wm-admin-view-wm_docx_desc_pro_ankety) .wm-docx-desc-pro-preview-item{
                    padding: 10px 0;
                    border-bottom: 1px solid #dcdcde;
                }

                body.wp-admin:is(.wm-admin-view-wm_docx_desc_pro,.wm-admin-view-wm_docx_desc_pro_ankety) .wm-docx-desc-pro-preview-item:last-child{
                    border-bottom: 0;
                }

                body.wp-admin:is(.wm-admin-view-wm_docx_desc_pro,.wm-admin-view-wm_docx_desc_pro_ankety) .wm-docx-desc-pro-progress{
                    display: none;
                    margin: 18px 0;
                    background: #fff;
                    border: 1px solid #dcdcde;
                    border-radius: 10px;
                    padding: 18px;
                }

                body.wp-admin:is(.wm-admin-view-wm_docx_desc_pro,.wm-admin-view-wm_docx_desc_pro_ankety) .wm-docx-desc-pro-progress-bar{
                    height: 22px;
                    background: #f0f0f1;
                    border-radius: 999px;
                    overflow: hidden;
                    margin: 10px 0;
                }

                body.wp-admin:is(.wm-admin-view-wm_docx_desc_pro,.wm-admin-view-wm_docx_desc_pro_ankety) .wm-docx-desc-pro-progress-fill{
                    height: 100%;
                    width: 0%;
                    background: #2271b1;
                    transition: width .2s ease;
                }

                body.wp-admin:is(.wm-admin-view-wm_docx_desc_pro,.wm-admin-view-wm_docx_desc_pro_ankety) .wm-docx-desc-pro-actions{
                    display: flex;
                    flex-wrap: wrap;
                    gap: 8px;
                    margin: 14px 0;
                }

                body.wp-admin:is(.wm-admin-view-wm_docx_desc_pro,.wm-admin-view-wm_docx_desc_pro_ankety) .wm-docx-desc-pro-table-wrap{
                    max-width: 100%;
                    overflow-x: auto;
                    background: #fff;
                    border: 1px solid #dcdcde;
                    border-radius: 10px;
                    margin-top: 18px;
                }

                body.wp-admin:is(.wm-admin-view-wm_docx_desc_pro,.wm-admin-view-wm_docx_desc_pro_ankety) .wm-docx-desc-pro-table{
                    min-width: 1300px;
                    margin: 0;
                    border: 0;
                }

                body.wp-admin:is(.wm-admin-view-wm_docx_desc_pro,.wm-admin-view-wm_docx_desc_pro_ankety) .wm-docx-desc-pro-table th{
                    white-space: nowrap;
                }

                body.wp-admin:is(.wm-admin-view-wm_docx_desc_pro,.wm-admin-view-wm_docx_desc_pro_ankety) .wm-docx-desc-pro-status{
                    display: inline-flex;
                    align-items: center;
                    padding: 4px 9px;
                    border-radius: 999px;
                    font-size: 12px;
                    font-weight: 700;
                }

                body.wp-admin:is(.wm-admin-view-wm_docx_desc_pro,.wm-admin-view-wm_docx_desc_pro_ankety) .wm-docx-desc-pro-status.has{
                    color: #0a5b2b;
                    background: #dff6e8;
                }

                body.wp-admin:is(.wm-admin-view-wm_docx_desc_pro,.wm-admin-view-wm_docx_desc_pro_ankety) .wm-docx-desc-pro-status.empty{
                    color: #8a4b00;
                    background: #fff2cc;
                }

                body.wp-admin:is(.wm-admin-view-wm_docx_desc_pro,.wm-admin-view-wm_docx_desc_pro_ankety) .wm-docx-desc-pro-text-preview{
                    max-height: 95px;
                    overflow: auto;
                    font-size: 12px;
                    line-height: 1.45;
                    background: #f6f7f7;
                    border: 1px solid #dcdcde;
                    border-radius: 6px;
                    padding: 8px;
                }

                body.wp-admin:is(.wm-admin-view-wm_docx_desc_pro,.wm-admin-view-wm_docx_desc_pro_ankety) .wm-docx-desc-pro-wp-render{
                    max-height: 180px;
                    overflow: auto;
                    background: #fff;
                    border: 1px solid #dcdcde;
                    border-radius: 8px;
                    padding: 12px;
                    line-height: 1.55;
                }

                body.wp-admin:is(.wm-admin-view-wm_docx_desc_pro,.wm-admin-view-wm_docx_desc_pro_ankety) .wm-docx-desc-pro-wp-render p{
                    margin-top: 0;
                }

                @media (max-width: 1100px) {
                    body.wp-admin:is(.wm-admin-view-wm_docx_desc_pro,.wm-admin-view-wm_docx_desc_pro_ankety) .wm-docx-desc-pro-grid{
                        grid-template-columns: 1fr;
                    }

                    body.wp-admin:is(.wm-admin-view-wm_docx_desc_pro,.wm-admin-view-wm_docx_desc_pro_ankety) .wm-docx-desc-pro-stats{
                        grid-template-columns: repeat(2, minmax(0, 1fr));
                    }
                }
/* ========== КОНЕЦ: Админка: wm docx desc pro render page ========== */



/* ========== НАЧАЛО: Админка: wm ai csv full render page ========== */
body.wp-admin:is(.wm-admin-view-wm_ai_csv_full_training) .wm-ai-csv-full-grid{
					display: grid;
					grid-template-columns: minmax(0, 1fr) 380px;
					gap: 20px;
					align-items: start;
					margin-top: 18px;
				}
				body.wp-admin:is(.wm-admin-view-wm_ai_csv_full_training) .wm-ai-csv-full-box{
					background: #fff;
					border: 1px solid #ccd0d4;
					padding: 18px;
					margin-bottom: 20px;
				}
				body.wp-admin:is(.wm-admin-view-wm_ai_csv_full_training) .wm-ai-csv-full-box h2{
					margin-top: 0;
				}
				body.wp-admin:is(.wm-admin-view-wm_ai_csv_full_training) .wm-ai-csv-full-muted{
					color: #646970;
				}
				body.wp-admin:is(.wm-admin-view-wm_ai_csv_full_training) .wm-ai-csv-full-ok{
					color: #008a20;
					font-weight: 600;
				}
				body.wp-admin:is(.wm-admin-view-wm_ai_csv_full_training) .wm-ai-csv-full-danger{
					color: #b32d2e;
					font-weight: 700;
				}
				body.wp-admin:is(.wm-admin-view-wm_ai_csv_full_training) .wm-ai-csv-full-pre{
					background: #f6f7f7;
					border: 1px solid #dcdcde;
					padding: 12px;
					white-space: pre-wrap;
					overflow: auto;
					max-height: 220px;
				}
				body.wp-admin:is(.wm-admin-view-wm_ai_csv_full_training) .wm-ai-csv-full-actions{
					display: flex;
					gap: 10px;
					flex-wrap: wrap;
					align-items: center;
					margin-top: 14px;
				}
				body.wp-admin:is(.wm-admin-view-wm_ai_csv_full_training) .wm-ai-csv-full-details{
					border: 1px solid #dcdcde;
					background: #fff;
					margin: 10px 0;
				}
				body.wp-admin:is(.wm-admin-view-wm_ai_csv_full_training) .wm-ai-csv-full-details summary{
					cursor: pointer;
					padding: 12px 14px;
					font-weight: 600;
					background: #f6f7f7;
				}
				body.wp-admin:is(.wm-admin-view-wm_ai_csv_full_training) .wm-ai-csv-full-details-inner{
					padding: 14px;
				}
				body.wp-admin:is(.wm-admin-view-wm_ai_csv_full_training) .wm-ai-csv-full-list{
					margin: 0;
					padding-left: 20px;
					max-height: 360px;
					overflow: auto;
				}
				body.wp-admin:is(.wm-admin-view-wm_ai_csv_full_training) .wm-ai-csv-full-list li{
					margin-bottom: 7px;
				}
				body.wp-admin:is(.wm-admin-view-wm_ai_csv_full_training) .wm-ai-csv-full-badge{
					display: inline-block;
					padding: 2px 7px;
					border-radius: 10px;
					background: #f0f0f1;
					font-size: 12px;
					margin-left: 6px;
				}
				body.wp-admin:is(.wm-admin-view-wm_ai_csv_full_training) .wm-ai-csv-full-red-button{
					background: #d63638 !important;
					border-color: #d63638 !important;
					color: #fff !important;
				}
				@media (max-width: 1100px) {
					body.wp-admin:is(.wm-admin-view-wm_ai_csv_full_training) .wm-ai-csv-full-grid{
						grid-template-columns: 1fr;
					}
				}
/* ========== КОНЕЦ: Админка: wm ai csv full render page ========== */



/* ========== НАЧАЛО: Админка: verification photos page ========== */
body.wp-admin:is(.wm-admin-view-wm_verification_photos) .wm-verify-anketa-grid{
                display: flex;
                flex-wrap: wrap;
                gap: 20px;
                margin-top: 16px;
            }

            body.wp-admin:is(.wm-admin-view-wm_verification_photos) .wm-verify-anketa-card{
                background: #ffffff;
                border: 1px solid #ccd0d4;
                border-radius: 8px;
                padding: 14px;
                box-sizing: border-box;
                max-width: 540px;
                flex: 1 1 480px;
                display: grid;
                grid-template-columns: 160px 1fr;
                gap: 14px;
            }

            body.wp-admin:is(.wm-admin-view-wm_verification_photos) .wm-verify-anketa-photo-block{
                display: flex;
                flex-direction: column;
                gap: 12px;
            }

            body.wp-admin:is(.wm-admin-view-wm_verification_photos) .wm-verify-anketa-photo-title{
                font-size: 12px;
                font-weight: 700;
                margin: 0 0 5px;
                color: #1d2327;
            }

            body.wp-admin:is(.wm-admin-view-wm_verification_photos) .wm-verify-anketa-photo img{
                display: block;
                max-width: 160px;
                width: 100%;
                height: auto;
                border-radius: 6px;
                border: 1px solid #ccd0d4;
            }

            body.wp-admin:is(.wm-admin-view-wm_verification_photos) .wm-verify-anketa-photo--empty{
                width: 160px;
                height: 120px;
                border-radius: 6px;
                border: 1px dashed #ccd0d4;
                display: flex;
                align-items: center;
                justify-content: center;
                font-size: 12px;
                color: #777;
                text-align: center;
                box-sizing: border-box;
                padding: 8px;
            }

            body.wp-admin:is(.wm-admin-view-wm_verification_photos) .wm-verify-anketa-info h2{
                margin: 0 0 6px;
                font-size: 16px;
            }

            body.wp-admin:is(.wm-admin-view-wm_verification_photos) .wm-verify-anketa-meta{
                margin: 0 0 8px;
                font-size: 12px;
                color: #666;
                line-height: 1.5;
            }

            body.wp-admin:is(.wm-admin-view-wm_verification_photos) .wm-verify-anketa-desc{
                background: #f6f7f7;
                border: 1px solid #dcdcde;
                border-radius: 6px;
                padding: 8px;
                margin: 8px 0 12px;
                font-size: 12px;
                color: #3c434a;
                max-height: 90px;
                overflow: auto;
            }

            body.wp-admin:is(.wm-admin-view-wm_verification_photos) .wm-verify-anketa-actions{
                margin-top: 8px;
            }

            body.wp-admin:is(.wm-admin-view-wm_verification_photos) .wm-verify-reject-box{
                width: 100%;
                min-height: 70px;
                margin: 8px 0;
                box-sizing: border-box;
            }

            @media (max-width: 700px) {
                body.wp-admin:is(.wm-admin-view-wm_verification_photos) .wm-verify-anketa-card{
                    grid-template-columns: 1fr;
                }
            }
/* ========== КОНЕЦ: Админка: verification photos page ========== */



/* ========== НАЧАЛО: Админка: payment requests admin page ========== */
body.wp-admin:is(.wm-admin-view-wm_payment_requests) .wm-pay-admin-top{
                display: flex;
                justify-content: space-between;
                align-items: center;
                gap: 20px;
                flex-wrap: wrap;
                margin: 16px 0;
            }

            body.wp-admin:is(.wm-admin-view-wm_payment_requests) .wm-pay-admin-filters{
                display: flex;
                gap: 10px;
                flex-wrap: wrap;
                align-items: center;
                margin: 14px 0;
            }

            body.wp-admin:is(.wm-admin-view-wm_payment_requests) .wm-pay-admin-filters a{
                text-decoration: none;
                padding: 5px 9px;
                border: 1px solid #dcdcde;
                border-radius: 4px;
                background: #fff;
            }

            body.wp-admin:is(.wm-admin-view-wm_payment_requests) .wm-pay-admin-filters a.current{
                font-weight: 700;
                border-color: #2271b1;
                background: #f0f6fc;
            }

            body.wp-admin:is(.wm-admin-view-wm_payment_requests) .wm-pay-search{
                display: flex;
                gap: 8px;
                align-items: center;
                margin: 14px 0;
                flex-wrap: wrap;
            }

            body.wp-admin:is(.wm-admin-view-wm_payment_requests) .wm-pay-search input[type="text"]{
                min-width: 320px;
            }

            body.wp-admin:is(.wm-admin-view-wm_payment_requests) .wm-pay-bulk-form{
                display: flex;
                gap: 8px;
                align-items: center;
                flex-wrap: wrap;
                margin: 14px 0;
                padding: 12px;
                background: #fff;
                border: 1px solid #dcdcde;
                border-radius: 4px;
            }

            body.wp-admin:is(.wm-admin-view-wm_payment_requests) .wm-pay-user-cell{
                min-width: 190px;
            }

            body.wp-admin:is(.wm-admin-view-wm_payment_requests) .wm-pay-small{
                color: #666;
                font-size: 12px;
                line-height: 1.45;
            }

            body.wp-admin:is(.wm-admin-view-wm_payment_requests) .wm-pay-actions-col{
                min-width: 230px;
            }

            body.wp-admin:is(.wm-admin-view-wm_payment_requests) .wm-pay-actions-col form{
                margin-bottom: 7px;
            }

            body.wp-admin:is(.wm-admin-view-wm_payment_requests) .wm-pay-actions-col .button{
                width: 100%;
                text-align: center;
            }

body.wp-admin:is(.wm-admin-view-wm_payment_requests) .wm-pay-payload{
    width: 360px;
    max-width: 360px;
}

body.wp-admin:is(.wm-admin-view-wm_payment_requests) .wm-pay-payload details{
    width: 360px;
    max-width: 360px;
}

body.wp-admin:is(.wm-admin-view-wm_payment_requests) .wm-pay-payload summary{
    cursor: pointer;
    display: inline-block;
    padding: 6px 10px;
    border-radius: 999px;
    background: #f1f1f1;
    font-weight: 600;
    white-space: nowrap;
}

body.wp-admin:is(.wm-admin-view-wm_payment_requests) .wm-pay-payload pre{
    white-space: pre-wrap;
    word-break: break-word;
    overflow-wrap: anywhere;
    max-height: 180px;
    overflow: auto;
    background: #f6f7f7;
    border: 1px solid #dcdcde;
    border-radius: 8px;
    padding: 10px;
    font-size: 11px;
    line-height: 1.45;
}

/* Исправление кривой таблицы заявок */
body.wp-admin:is(.wm-admin-view-wm_payment_requests) .wrap table.wp-list-table{
    table-layout: auto !important;
    min-width: 1850px;
    width: max-content;
}

body.wp-admin:is(.wm-admin-view-wm_payment_requests) .wrap table.wp-list-table.fixed{
    table-layout: auto !important;
}

body.wp-admin:is(.wm-admin-view-wm_payment_requests) .wrap{
    overflow-x: auto;
}

body.wp-admin:is(.wm-admin-view-wm_payment_requests) .wrap table.wp-list-table th,
body.wp-admin:is(.wm-admin-view-wm_payment_requests) .wrap table.wp-list-table td{
    word-break: normal !important;
    overflow-wrap: normal !important;
    hyphens: none !important;
    vertical-align: top;
}

body.wp-admin:is(.wm-admin-view-wm_payment_requests) .wrap table.wp-list-table th{
    white-space: nowrap !important;
}

body.wp-admin:is(.wm-admin-view-wm_payment_requests) .wrap table.wp-list-table td:nth-child(1),
body.wp-admin:is(.wm-admin-view-wm_payment_requests) .wrap table.wp-list-table th:nth-child(1){
    width: 40px;
    min-width: 40px;
    text-align: center;
}

body.wp-admin:is(.wm-admin-view-wm_payment_requests) .wrap table.wp-list-table td:nth-child(2),
body.wp-admin:is(.wm-admin-view-wm_payment_requests) .wrap table.wp-list-table th:nth-child(2){
    width: 70px;
    min-width: 70px;
    white-space: nowrap;
}

body.wp-admin:is(.wm-admin-view-wm_payment_requests) .wrap table.wp-list-table td:nth-child(3),
body.wp-admin:is(.wm-admin-view-wm_payment_requests) .wrap table.wp-list-table th:nth-child(3){
    width: 110px;
    min-width: 110px;
    white-space: nowrap;
}

body.wp-admin:is(.wm-admin-view-wm_payment_requests) .wrap table.wp-list-table td:nth-child(4),
body.wp-admin:is(.wm-admin-view-wm_payment_requests) .wrap table.wp-list-table th:nth-child(4){
    width: 270px;
    min-width: 270px;
}

body.wp-admin:is(.wm-admin-view-wm_payment_requests) .wrap table.wp-list-table td:nth-child(5),
body.wp-admin:is(.wm-admin-view-wm_payment_requests) .wrap table.wp-list-table th:nth-child(5){
    width: 110px;
    min-width: 110px;
    white-space: nowrap;
}

body.wp-admin:is(.wm-admin-view-wm_payment_requests) .wrap table.wp-list-table td:nth-child(6),
body.wp-admin:is(.wm-admin-view-wm_payment_requests) .wrap table.wp-list-table th:nth-child(6){
    width: 130px;
    min-width: 130px;
    white-space: nowrap;
}

body.wp-admin:is(.wm-admin-view-wm_payment_requests) .wrap table.wp-list-table td:nth-child(7),
body.wp-admin:is(.wm-admin-view-wm_payment_requests) .wrap table.wp-list-table th:nth-child(7){
    width: 150px;
    min-width: 150px;
}

body.wp-admin:is(.wm-admin-view-wm_payment_requests) .wrap table.wp-list-table td:nth-child(8),
body.wp-admin:is(.wm-admin-view-wm_payment_requests) .wrap table.wp-list-table th:nth-child(8),
body.wp-admin:is(.wm-admin-view-wm_payment_requests) .wrap table.wp-list-table td:nth-child(9),
body.wp-admin:is(.wm-admin-view-wm_payment_requests) .wrap table.wp-list-table th:nth-child(9){
    width: 150px;
    min-width: 150px;
    white-space: nowrap;
}

body.wp-admin:is(.wm-admin-view-wm_payment_requests) .wrap table.wp-list-table td:nth-child(10),
body.wp-admin:is(.wm-admin-view-wm_payment_requests) .wrap table.wp-list-table th:nth-child(10){
    width: 110px;
    min-width: 110px;
    white-space: nowrap;
}

body.wp-admin:is(.wm-admin-view-wm_payment_requests) .wrap table.wp-list-table td:nth-child(11),
body.wp-admin:is(.wm-admin-view-wm_payment_requests) .wrap table.wp-list-table th:nth-child(11){
    width: 360px;
    min-width: 360px;
}

body.wp-admin:is(.wm-admin-view-wm_payment_requests) .wrap table.wp-list-table td:nth-child(12),
body.wp-admin:is(.wm-admin-view-wm_payment_requests) .wrap table.wp-list-table th:nth-child(12){
    width: 230px;
    min-width: 230px;
}

body.wp-admin:is(.wm-admin-view-wm_payment_requests) .wm-pay-user-cell{
    min-width: 270px;
}

body.wp-admin:is(.wm-admin-view-wm_payment_requests) .wm-pay-small{
    word-break: normal !important;
    overflow-wrap: normal !important;
    line-height: 1.5;
}

body.wp-admin:is(.wm-admin-view-wm_payment_requests) .wm-pay-actions-col{
    width: 230px;
    min-width: 230px;
}

body.wp-admin:is(.wm-admin-view-wm_payment_requests) .wm-pay-actions-col .button{
    white-space: nowrap;
}

            body.wp-admin:is(.wm-admin-view-wm_payment_requests) .wm-pay-amount{
                font-weight: 700;
                color: #111;
            }

            body.wp-admin:is(.wm-admin-view-wm_payment_requests) .wm-pay-balance{
                font-weight: 700;
            }

            body.wp-admin:is(.wm-admin-view-wm_payment_requests) .wm-pay-danger-btn{
                color: #b32d2e !important;
                border-color: #b32d2e !important;
            }

            body.wp-admin:is(.wm-admin-view-wm_payment_requests) .wm-pay-danger-btn:hover{
                color: #fff !important;
                background: #b32d2e !important;
                border-color: #b32d2e !important;
            }

            body.wp-admin:is(.wm-admin-view-wm_payment_requests) .wm-pay-url{
                max-width: 220px;
                word-break: break-all;
                font-size: 12px;
            }
/* ========== КОНЕЦ: Админка: payment requests admin page ========== */



/* ========== НАЧАЛО: Админка: anketa media fields metabox ========== */
body.wp-admin:is(.wm-admin-post-anketa) .wm-admin-media-box{
            padding: 14px;
            background: #ffffff;
            border: 1px solid #dcdcde;
            border-radius: 8px;
            margin-bottom: 16px;
        }

        body.wp-admin:is(.wm-admin-post-anketa) .wm-admin-media-box h3{
            margin: 0 0 10px;
            font-size: 15px;
        }

        body.wp-admin:is(.wm-admin-post-anketa) .wm-admin-media-preview{
            display: flex;
            flex-wrap: wrap;
            gap: 10px;
            margin: 10px 0;
        }

        body.wp-admin:is(.wm-admin-post-anketa) .wm-admin-media-preview img{
            width: 92px;
            height: 92px;
            object-fit: cover;
            border-radius: 6px;
            border: 1px solid #ccd0d4;
            background: #f6f7f7;
        }

        body.wp-admin:is(.wm-admin-post-anketa) .wm-admin-video-preview{
            margin: 10px 0;
            padding: 10px;
            background: #f6f7f7;
            border: 1px solid #dcdcde;
            border-radius: 6px;
        }

        body.wp-admin:is(.wm-admin-post-anketa) .wm-admin-video-preview a{
            word-break: break-all;
        }
/* ========== КОНЕЦ: Админка: anketa media fields metabox ========== */



/* ========== НАЧАЛО: Админка: bulk phone replace page ========== */
body.wp-admin:is(.wm-admin-view-wm-bulk-phone-replace) .wm-bulk-phone-page{
                max-width: 1500px;
            }

            body.wp-admin:is(.wm-admin-view-wm-bulk-phone-replace) .wm-bulk-phone-stats{
                display: grid;
                grid-template-columns: repeat(4, minmax(0, 1fr));
                gap: 14px;
                margin: 20px 0;
            }

            body.wp-admin:is(.wm-admin-view-wm-bulk-phone-replace) .wm-bulk-phone-stat{
                padding: 18px;
                background: #ffffff;
                border: 1px solid #dcdcde;
                border-radius: 8px;
            }

            body.wp-admin:is(.wm-admin-view-wm-bulk-phone-replace) .wm-bulk-phone-stat__label{
                margin-bottom: 8px;
                color: #646970;
                font-size: 13px;
                font-weight: 600;
            }

            body.wp-admin:is(.wm-admin-view-wm-bulk-phone-replace) .wm-bulk-phone-stat__value{
                color: #1d2327;
                font-size: 30px;
                line-height: 1;
                font-weight: 800;
            }

            body.wp-admin:is(.wm-admin-view-wm-bulk-phone-replace) .wm-bulk-phone-stat--good{
                border-left: 4px solid #00a32a;
            }

            body.wp-admin:is(.wm-admin-view-wm-bulk-phone-replace) .wm-bulk-phone-stat--warning{
                border-left: 4px solid #dba617;
            }

            body.wp-admin:is(.wm-admin-view-wm-bulk-phone-replace) .wm-bulk-phone-stat--backup{
                border-left: 4px solid #2271b1;
            }

            body.wp-admin:is(.wm-admin-view-wm-bulk-phone-replace) .wm-bulk-phone-box{
                margin: 20px 0;
                padding: 20px;
                background: #ffffff;
                border: 1px solid #dcdcde;
                border-radius: 8px;
            }

            body.wp-admin:is(.wm-admin-view-wm-bulk-phone-replace) .wm-bulk-phone-box h2{
                margin-top: 0;
            }

            body.wp-admin:is(.wm-admin-view-wm-bulk-phone-replace) .wm-bulk-phone-textarea{
                width: 100%;
                max-width: 760px;
                min-height: 190px;
                padding: 12px;
                font-family: monospace;
                font-size: 14px;
                line-height: 1.7;
            }

            body.wp-admin:is(.wm-admin-view-wm-bulk-phone-replace) .wm-bulk-phone-actions{
                display: flex;
                flex-wrap: wrap;
                gap: 10px;
                margin-top: 16px;
            }

            body.wp-admin:is(.wm-admin-view-wm-bulk-phone-replace) .wm-bulk-phone-warning{
                max-width: 900px;
                margin-top: 16px;
                padding: 12px 14px;
                background: #fff8e5;
                border-left: 4px solid #dba617;
            }

            body.wp-admin:is(.wm-admin-view-wm-bulk-phone-replace) .wm-bulk-phone-table-wrap{
                max-width: 100%;
                overflow-x: auto;
                background: #ffffff;
                border: 1px solid #dcdcde;
                border-radius: 8px;
            }

            body.wp-admin:is(.wm-admin-view-wm-bulk-phone-replace) .wm-bulk-phone-table{
                min-width: 950px;
                margin: 0;
            }

            body.wp-admin:is(.wm-admin-view-wm-bulk-phone-replace) .wm-bulk-phone-table th,
body.wp-admin:is(.wm-admin-view-wm-bulk-phone-replace) .wm-bulk-phone-table td{
                vertical-align: middle;
            }

            body.wp-admin:is(.wm-admin-view-wm-bulk-phone-replace) .wm-bulk-phone-current{
                color: #1d2327;
                font-weight: 700;
            }

            body.wp-admin:is(.wm-admin-view-wm-bulk-phone-replace) .wm-bulk-phone-empty{
                color: #b32d2e;
                font-weight: 700;
            }

            body.wp-admin:is(.wm-admin-view-wm-bulk-phone-replace) .wm-bulk-phone-new{
                color: #008a20;
                font-weight: 700;
            }

            body.wp-admin:is(.wm-admin-view-wm-bulk-phone-replace) .wm-bulk-phone-status{
                display: inline-flex;
                padding: 4px 8px;
                background: #f0f0f1;
                border-radius: 4px;
                font-size: 12px;
                font-weight: 600;
            }

            @media (max-width: 900px) {
                body.wp-admin:is(.wm-admin-view-wm-bulk-phone-replace) .wm-bulk-phone-stats{
                    grid-template-columns: repeat(2, minmax(0, 1fr));
                }
            }

            @media (max-width: 560px) {
                body.wp-admin:is(.wm-admin-view-wm-bulk-phone-replace) .wm-bulk-phone-stats{
                    grid-template-columns: 1fr;
                }

                body.wp-admin:is(.wm-admin-view-wm-bulk-phone-replace) .wm-bulk-phone-actions{
                    flex-direction: column;
                    align-items: stretch;
                }

                body.wp-admin:is(.wm-admin-view-wm-bulk-phone-replace) .wm-bulk-phone-actions .button{
                    text-align: center;
                }
            }
/* ========== КОНЕЦ: Админка: bulk phone replace page ========== */



/* ========== НАЧАЛО: Админка: import page ========== */
body.wp-admin:is(.wm-admin-view-wm_import_taxonomies) .wm-import-tax-wrap{
                    max-width: 100%;
                    overflow-x: auto;
                    background: #fff;
                    border: 1px solid #ccd0d4;
                    border-radius: 8px;
                }

                body.wp-admin:is(.wm-admin-view-wm_import_taxonomies) .wm-import-tax-table{
                    min-width: 1600px;
                    margin: 0;
                }

                body.wp-admin:is(.wm-admin-view-wm_import_taxonomies) .wm-import-tax-table th,
body.wp-admin:is(.wm-admin-view-wm_import_taxonomies) .wm-import-tax-table td{
                    vertical-align: top;
                }

                body.wp-admin:is(.wm-admin-view-wm_import_taxonomies) .wm-import-good{
                    color: #008a20;
                    font-weight: 700;
                }

                body.wp-admin:is(.wm-admin-view-wm_import_taxonomies) .wm-import-bad{
                    color: #b32d2e;
                    font-weight: 700;
                }

                body.wp-admin:is(.wm-admin-view-wm_import_taxonomies) .wm-import-muted{
                    color: #646970;
                }

                body.wp-admin:is(.wm-admin-view-wm_import_taxonomies) .wm-import-code{
                    display: inline-block;
                    margin-top: 4px;
                }
/* ========== КОНЕЦ: Админка: import page ========== */



/* ========== НАЧАЛО: Админка: wm ai v4 render reviews page ========== */
body.wp-admin:is(.wm-admin-view-wm_bot_reviews) .wm-ai-v4-reviews{ max-width:1600px; }
                body.wp-admin:is(.wm-admin-view-wm_bot_reviews) .wm-ai-v4-review-stats{ display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:14px; margin:20px 0; }
                body.wp-admin:is(.wm-admin-view-wm_bot_reviews) .wm-ai-v4-review-stat{ background:#fff; border:1px solid #dcdcde; border-radius:9px; padding:18px; }
                body.wp-admin:is(.wm-admin-view-wm_bot_reviews) .wm-ai-v4-review-stat strong{ display:block; font-size:32px; line-height:1; margin-top:7px; }
                body.wp-admin:is(.wm-admin-view-wm_bot_reviews) .wm-ai-v4-review-card{ background:#fff; border:1px solid #dcdcde; border-radius:10px; padding:20px; margin:20px 0; }
                body.wp-admin:is(.wm-admin-view-wm_bot_reviews) .wm-ai-v4-review-actions{ display:flex; flex-wrap:wrap; gap:10px; align-items:center; }
                body.wp-admin:is(.wm-admin-view-wm_bot_reviews) .wm-ai-v4-button-negative{ color:#b32d2e!important; border-color:#b32d2e!important; }
                body.wp-admin:is(.wm-admin-view-wm_bot_reviews) .wm-ai-v4-button-positive{ color:#008a20!important; border-color:#008a20!important; }
                body.wp-admin:is(.wm-admin-view-wm_bot_reviews) .wm-ai-v4-demo-wrap{ overflow-x:auto; border:1px solid #dcdcde; border-radius:8px; }
                body.wp-admin:is(.wm-admin-view-wm_bot_reviews) .wm-ai-v4-demo-table{ min-width:1100px; margin:0; }
                body.wp-admin:is(.wm-admin-view-wm_bot_reviews) .wm-ai-v4-demo-table textarea{ width:100%; min-height:88px; }
                body.wp-admin:is(.wm-admin-view-wm_bot_reviews) .wm-ai-v4-demo-table select{ min-width:90px; }
                body.wp-admin:is(.wm-admin-view-wm_bot_reviews) .wm-ai-v4-stars{ color:#dba617; font-size:18px; letter-spacing:2px; }
                body.wp-admin:is(.wm-admin-view-wm_bot_reviews) .wm-ai-v4-anketa-table-wrap{ max-height:680px; overflow:auto; border:1px solid #dcdcde; border-radius:8px; }
                body.wp-admin:is(.wm-admin-view-wm_bot_reviews) .wm-ai-v4-anketa-table{ margin:0; }
                body.wp-admin:is(.wm-admin-view-wm_bot_reviews) .wm-ai-v4-inline-form{ display:inline-flex; gap:6px; margin:2px; }
                @media(max-width:900px){ body.wp-admin:is(.wm-admin-view-wm_bot_reviews) .wm-ai-v4-review-stats{grid-template-columns:1fr;} }
/* ========== КОНЕЦ: Админка: wm ai v4 render reviews page ========== */



/* ========== НАЧАЛО: Админка: all reviews page ========== */
body.wp-admin:is(.wm-admin-view-wm_all_reviews) .wm-all-reviews-table{
                width: 100%;
                border-collapse: collapse;
                margin-top: 20px;
                background: #fff;
                box-shadow: 0 1px 3px rgba(0,0,0,0.1);
            }
            body.wp-admin:is(.wm-admin-view-wm_all_reviews) .wm-all-reviews-table th{
                background: #f1f1f1;
                padding: 12px;
                text-align: left;
                border-bottom: 2px solid #ddd;
                font-weight: 600;
            }
            body.wp-admin:is(.wm-admin-view-wm_all_reviews) .wm-all-reviews-table td{
                padding: 12px;
                border-bottom: 1px solid #eee;
                vertical-align: top;
            }
            body.wp-admin:is(.wm-admin-view-wm_all_reviews) .wm-all-reviews-table tr:hover{
                background: #f9f9f9;
            }
            body.wp-admin:is(.wm-admin-view-wm_all_reviews) .wm-review-status{
                display: inline-block;
                padding: 4px 8px;
                border-radius: 3px;
                font-size: 12px;
                font-weight: 600;
            }
            body.wp-admin:is(.wm-admin-view-wm_all_reviews) .wm-review-status-pending{
                background: #ffb900;
                color: #fff;
            }
            body.wp-admin:is(.wm-admin-view-wm_all_reviews) .wm-review-status-approved{
                background: #46b450;
                color: #fff;
            }
            body.wp-admin:is(.wm-admin-view-wm_all_reviews) .wm-review-status-rejected{
                background: #dc3232;
                color: #fff;
            }
            body.wp-admin:is(.wm-admin-view-wm_all_reviews) .wm-review-actions{
                display: flex;
                flex-direction: column;
                gap: 5px;
            }
            body.wp-admin:is(.wm-admin-view-wm_all_reviews) .wm-review-actions .button{
                padding: 4px 8px;
                font-size: 12px;
                height: auto;
                width: 80px;
                text-align: center;
            }
            body.wp-admin:is(.wm-admin-view-wm_all_reviews) .wm-review-comment-cell{
                max-width: 300px;
                word-wrap: break-word;
            }
            body.wp-admin:is(.wm-admin-view-wm_all_reviews) .wm-review-comment-cell .short-comment{
                max-height: 60px;
                overflow: hidden;
                text-overflow: ellipsis;
            }
            body.wp-admin:is(.wm-admin-view-wm_all_reviews) .wm-review-comment-cell .full-comment{
                display: none;
            }
            body.wp-admin:is(.wm-admin-view-wm_all_reviews) .wm-review-comment-cell.expanded .short-comment{
                display: none;
            }
            body.wp-admin:is(.wm-admin-view-wm_all_reviews) .wm-review-comment-cell.expanded .full-comment{
                display: block;
            }
            body.wp-admin:is(.wm-admin-view-wm_all_reviews) .wm-review-show-more{
                color: #0073aa;
                cursor: pointer;
                font-size: 12px;
                margin-top: 5px;
            }
            body.wp-admin:is(.wm-admin-view-wm_all_reviews) .wm-review-show-more:hover{
                text-decoration: underline;
            }
            body.wp-admin:is(.wm-admin-view-wm_all_reviews) .column-cb{
                width: 30px;
            }
            body.wp-admin:is(.wm-admin-view-wm_all_reviews) .column-id{
                width: 50px;
            }
            body.wp-admin:is(.wm-admin-view-wm_all_reviews) .column-rating{
                width: 100px;
            }
            body.wp-admin:is(.wm-admin-view-wm_all_reviews) .column-status{
                width: 100px;
            }
            body.wp-admin:is(.wm-admin-view-wm_all_reviews) .column-actions{
                width: 120px;
            }
/* ========== КОНЕЦ: Админка: all reviews page ========== */



/* ========== НАЧАЛО: Админка: anketa main fields metabox ========== */
body.wp-admin:is(.wm-admin-post-anketa) .wm-admin-anketa-grid{
            display: grid;
            grid-template-columns: repeat(2, minmax(0, 1fr));
            gap: 16px 22px;
        }

        body.wp-admin:is(.wm-admin-post-anketa) .wm-admin-anketa-section{
            margin: 0 0 22px;
            padding: 16px;
            background: #ffffff;
            border: 1px solid #dcdcde;
            border-radius: 8px;
        }

        body.wp-admin:is(.wm-admin-post-anketa) .wm-admin-anketa-section h3{
            margin: 0 0 14px;
            font-size: 15px;
        }

        body.wp-admin:is(.wm-admin-post-anketa) .wm-admin-anketa-field label{
            display: block;
            margin: 0 0 5px;
            font-weight: 600;
        }

        body.wp-admin:is(.wm-admin-post-anketa) .wm-admin-anketa-field input,
body.wp-admin:is(.wm-admin-post-anketa) .wm-admin-anketa-field select{
            width: 100%;
            max-width: 100%;
        }

        body.wp-admin:is(.wm-admin-post-anketa) .wm-admin-anketa-note{
            margin: 8px 0 0;
            color: #646970;
            font-size: 12px;
        }

        @media (max-width: 900px) {
            body.wp-admin:is(.wm-admin-post-anketa) .wm-admin-anketa-grid{
                grid-template-columns: 1fr;
            }
        }
/* ========== КОНЕЦ: Админка: anketa main fields metabox ========== */



/* ========== НАЧАЛО: Админка: bot chat page ========== */
body.wp-admin:is(.wm-admin-view-wm_bot_chat) .wm-petya-chat-wrap{
            max-width: 100%;
            padding: 30px;
        }
        body.wp-admin:is(.wm-admin-view-wm_bot_chat) .wm-chat-header{
            display: flex;
            align-items: center;
            gap: 20px;
            margin-bottom: 25px;
            background: white;
            padding: 15px 25px;
            border-radius: 60px;
        }
        body.wp-admin:is(.wm-admin-view-wm_bot_chat) .wm-bot-avatar .wm-avatar-circle{
            width: 60px;
            height: 60px;
            background: linear-gradient(135deg, #007cba, #00a0d2);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 32px;
        }
        body.wp-admin:is(.wm-admin-view-wm_bot_chat) .wm-title-wrapper{
            flex: 1;
        }
        body.wp-admin:is(.wm-admin-view-wm_bot_chat) .wm-title-wrapper h1{
            margin: 0;
            font-size: 28px;
            font-weight: 600;
            background: linear-gradient(120deg, #007cba, #00a0d2);
            background-clip: text;
            -webkit-background-clip: text;
            color: transparent;
            transition: all 0.3s ease;
        }
        body.wp-admin:is(.wm-admin-view-wm_bot_chat) .wm-subtitle{
            color: #666;
            font-size: 14px;
            margin-top: 4px;
        }
        body.wp-admin:is(.wm-admin-view-wm_bot_chat) .wm-chat-container{
            background: #fff;
            border-radius: 25px;
            overflow: hidden;
            display: flex;
            flex-direction: column;
            height: 65vh;
            min-height: 500px;
        }
        body.wp-admin:is(.wm-admin-view-wm_bot_chat) .wm-chat-messages{
            flex: 1;
            padding: 50px;
            overflow-y: auto;
            display: flex;
            flex-direction: column;
            gap: 15px;
            background: #f8f9fc;
        }
        body.wp-admin:is(.wm-admin-view-wm_bot_chat) .wm-user-message,
body.wp-admin:is(.wm-admin-view-wm_bot_chat) .wm-bot-message{
            display: flex;
            align-items: flex-start;
            gap: 12px;
            animation: fadeInUp 0.25s ease;
        }
        body.wp-admin:is(.wm-admin-view-wm_bot_chat) .wm-user-message{
            justify-content: flex-end;
        }
        body.wp-admin:is(.wm-admin-view-wm_bot_chat) .wm-message-bubble{
            max-width: 70%;
            padding: 12px 18px;
            border-radius: 24px;
            font-size: 14px;
            line-height: 1.45;
            word-wrap: break-word;
            white-space: normal;
            box-shadow: 0 1px 2px rgba(0,0,0,0.05);
        }
        body.wp-admin:is(.wm-admin-view-wm_bot_chat) .wm-user-message .wm-message-bubble{
            background: #007cba;
            color: white;
            border-bottom-right-radius: 6px;
        }
        body.wp-admin:is(.wm-admin-view-wm_bot_chat) .wm-bot-message .wm-message-bubble{
            background: #e9ecef;
            color: #1e2a3a;
            border-bottom-left-radius: 6px;
            position: relative;
        }
        body.wp-admin:is(.wm-admin-view-wm_bot_chat) .wm-bot-message .wm-message-bubble::before{
            content: "Петя";
            position: absolute;
            left: -35px;
            bottom: -25px;
            font-size: 15px;
            opacity: 0.7;
        }
        body.wp-admin:is(.wm-admin-view-wm_bot_chat) .wm-typing{
            background: #e9ecef;
            border-radius: 24px;
            padding: 12px 18px;
            display: inline-flex;
            align-items: center;
            gap: 10px;
            color: #555;
            font-style: italic;
        }
        body.wp-admin:is(.wm-admin-view-wm_bot_chat) .wm-typing span{
            font-weight: bold;
            animation: blink 1s step-end infinite;
        }
        @keyframes blink {
            0%, 100% { opacity: 1; }
            50% { opacity: 0; }
        }
        body.wp-admin:is(.wm-admin-view-wm_bot_chat) .wm-chat-input-area{
            display: flex;
            gap: 12px;
            padding: 18px;
            background: white;
            border-top: 1px solid #e2e8f0;
        }
        body.wp-admin:is(.wm-admin-view-wm_bot_chat) #wm-chat-input{
            flex: 1;
            border: 1px solid #cbd5e0;
            border-radius: 40px;
            padding: 12px 20px;
            font-size: 14px;
            resize: none;
            font-family: inherit;
            transition: 0.2s;
        }
        body.wp-admin:is(.wm-admin-view-wm_bot_chat) #wm-chat-input:focus{
            border-color: #007cba;
            outline: none;
            box-shadow: 0 0 0 2px rgba(0,124,186,0.2);
        }
        body.wp-admin:is(.wm-admin-view-wm_bot_chat) #wm-chat-send{
            border-radius: 40px;
            padding: 0 24px;
            background: #007cba;
            border-color: #007cba;
        }
        body.wp-admin:is(.wm-admin-view-wm_bot_chat) #wm-chat-send:hover{
            background: #005a87;
        }
        body.wp-admin:is(.wm-admin-view-wm_bot_chat) .wm-chat-status{
            padding: 8px 18px;
            font-size: 12px;
            color: #4b5563;
            background: #f1f5f9;
            border-top: 1px solid #e2e8f0;
        }
        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(12px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }
        body.wp-admin:is(.wm-admin-view-wm_bot_chat) .wm-chat-messages::-webkit-scrollbar{
            width: 6px;
        }
        body.wp-admin:is(.wm-admin-view-wm_bot_chat) .wm-chat-messages::-webkit-scrollbar-track{
            background: #e2e8f0;
            border-radius: 10px;
        }
        body.wp-admin:is(.wm-admin-view-wm_bot_chat) .wm-chat-messages::-webkit-scrollbar-thumb{
            background: #94a3b8;
            border-radius: 10px;
        }
        @media (max-width: 600px) {
            body.wp-admin:is(.wm-admin-view-wm_bot_chat) .wm-chat-header{ flex-direction: column; text-align: center; border-radius: 30px; }
            body.wp-admin:is(.wm-admin-view-wm_bot_chat) .wm-message-bubble{ max-width: 85%; }
        }
/* ========== КОНЕЦ: Админка: bot chat page ========== */



/* ========== НАЧАЛО: Админка: reviews page ========== */
body.wp-admin:is(.wm-admin-view-wm_moderate_reviews) .wm-reviews-grid{
                display: grid;
                gap: 20px;
                margin-top: 20px;
            }
            body.wp-admin:is(.wm-admin-view-wm_moderate_reviews) .wm-review-card{
                background: #fff;
                border: 1px solid #ddd;
                border-radius: 8px;
                padding: 20px;
            }
            body.wp-admin:is(.wm-admin-view-wm_moderate_reviews) .wm-review-header{
                display: flex;
                justify-content: space-between;
                margin-bottom: 10px;
            }
            body.wp-admin:is(.wm-admin-view-wm_moderate_reviews) .wm-review-user{
                font-weight: bold;
                color: #333;
            }
            body.wp-admin:is(.wm-admin-view-wm_moderate_reviews) .wm-review-anketa{
                color: #666;
                font-size: 0.9em;
            }
            body.wp-admin:is(.wm-admin-view-wm_moderate_reviews) .wm-review-rating{
                color: #ffd700;
                font-size: 18px;
                margin: 10px 0;
            }
            body.wp-admin:is(.wm-admin-view-wm_moderate_reviews) .wm-review-comment{
                background: #f9f9f9;
                padding: 15px;
                border-radius: 5px;
                margin: 10px 0;
            }
            body.wp-admin:is(.wm-admin-view-wm_moderate_reviews) .wm-review-actions{
                margin-top: 15px;
                display: flex;
                gap: 10px;
            }
            body.wp-admin:is(.wm-admin-view-wm_moderate_reviews) .wm-review-actions .button-primary{
                background: #46b450;
            }
            body.wp-admin:is(.wm-admin-view-wm_moderate_reviews) .wm-review-actions .button-secondary{
                background: #dc3232;
                color: white;
                border-color: #dc3232;
            }
/* ========== КОНЕЦ: Админка: reviews page ========== */



/* ========== НАЧАЛО: Админка: site health page ========== */
body.wp-admin:is(.wm-admin-view-wm_site_health) .wm-site-health{
                --wm-bg: #f3f4f6;
                --wm-card: #ffffff;
                --wm-card-dark: linear-gradient(135deg, #18181b 0%, #23232a 100%);
                --wm-text: #111827;
                --wm-muted: #6b7280;
                --wm-border: #e5e7eb;
                --wm-yellow: #007cba;
                --wm-yellow-hover: #007cba;
                --wm-success: #1a9b5f;
                --wm-danger: #d93025;
                --wm-shadow: 0 8px 30px rgba(16, 24, 40, 0.08);
                --wm-radius: 18px;
            }

            body.wp-admin:is(.wm-admin-view-wm_site_health) .wm-site-health *{
                box-sizing: border-box;
            }

            body.wp-admin:is(.wm-admin-view-wm_site_health) .wm-site-health{
                margin-top: 20px;
                color: var(--wm-text);
            }

            body.wp-admin:is(.wm-admin-view-wm_site_health) .wm-site-health .wm-page-header{
                background: var(--wm-card-dark);
                color: #fff;
                border-radius: 24px;
                padding: 28px 32px;
                margin: 20px 0 24px;
                box-shadow: 0 14px 34px rgba(0,0,0,.18);
                position: relative;
                overflow: hidden;
            }

            body.wp-admin:is(.wm-admin-view-wm_site_health) .wm-site-health .wm-page-title{
                margin: 0 0 8px;
                font-size: 30px;
                line-height: 1.2;
                font-weight: 700;
                color: #fff;
            }

            body.wp-admin:is(.wm-admin-view-wm_site_health) .wm-site-health .wm-page-subtitle{
                margin: 0;
                color: rgba(255,255,255,.78);
                font-size: 14px;
                max-width: 760px;
            }

            body.wp-admin:is(.wm-admin-view-wm_site_health) .wm-site-health .wm-grid{
                display: grid;
                grid-template-columns: 1fr;
                gap: 20px;
            }

            body.wp-admin:is(.wm-admin-view-wm_site_health) .wm-site-health .wm-card{
                background: var(--wm-card);
                border: 1px solid var(--wm-border);
                border-radius: var(--wm-radius);
                box-shadow: var(--wm-shadow);
                overflow: hidden;
            }

            body.wp-admin:is(.wm-admin-view-wm_site_health) .wm-site-health .wm-card-head{
                padding: 18px 22px 0;
            }

            body.wp-admin:is(.wm-admin-view-wm_site_health) .wm-site-health .wm-card-body{
                padding: 18px 22px 22px;
            }

            body.wp-admin:is(.wm-admin-view-wm_site_health) .wm-site-health .wm-card-title{
                margin: 0;
                font-size: 20px;
                font-weight: 700;
                color: #111827;
            }

            body.wp-admin:is(.wm-admin-view-wm_site_health) .wm-site-health .wm-card-desc{
                margin: 8px 0 0;
                color: var(--wm-muted);
                font-size: 14px;
                line-height: 1.5;
            }

            body.wp-admin:is(.wm-admin-view-wm_site_health) .wm-site-health .wm-controls{
                display: flex;
                flex-wrap: wrap;
                gap: 16px;
                align-items: end;
                margin-top: 16px;
            }

            body.wp-admin:is(.wm-admin-view-wm_site_health) .wm-site-health .wm-field{
                min-width: 220px;
                display: flex;
                flex-direction: column;
                gap: 8px;
            }

            body.wp-admin:is(.wm-admin-view-wm_site_health) .wm-site-health .wm-field label{
                font-weight: 600;
                color: #1f2937;
            }

            body.wp-admin:is(.wm-admin-view-wm_site_health) .wm-site-health select,
body.wp-admin:is(.wm-admin-view-wm_site_health) .wm-site-health input[type="text"]{
                min-height: 42px;
                border-radius: 12px !important;
                border: 1px solid #d1d5db !important;
                box-shadow: none !important;
                padding: 0 14px !important;
                background: #fff !important;
            }

            body.wp-admin:is(.wm-admin-view-wm_site_health) .wm-site-health select:focus,
body.wp-admin:is(.wm-admin-view-wm_site_health) .wm-site-health input[type="text"]:focus{
                border-color: var(--wm-yellow) !important;
            }

            body.wp-admin:is(.wm-admin-view-wm_site_health) .wm-site-health .wm-actions{
                margin-top: 18px;
                display: flex;
                align-items: center;
                gap: 12px;
                flex-wrap: wrap;
            }

            body.wp-admin:is(.wm-admin-view-wm_site_health) .wm-site-health .button.button-primary.wm-btn-primary,
body.wp-admin:is(.wm-admin-view-wm_site_health) .wm-site-health .wm-btn-primary{
                background: var(--wm-yellow) !important;
                border-color: var(--wm-yellow) !important;
                border-radius: 12px !important;
                min-height: 42px;
                padding: 0 18px !important;
                font-weight: 700;
                box-shadow: none !important;
                text-shadow: none !important;
            }

            body.wp-admin:is(.wm-admin-view-wm_site_health) .wm-site-health .button.button-primary.wm-btn-primary:hover,
body.wp-admin:is(.wm-admin-view-wm_site_health) .wm-site-health .wm-btn-primary:hover{
                background: var(--wm-yellow-hover) !important;
                border-color: var(--wm-yellow-hover) !important;
            }

            body.wp-admin:is(.wm-admin-view-wm_site_health) .wm-site-health .button.wm-btn-secondary{
                border-radius: 12px !important;
                min-height: 40px;
                padding: 0 16px !important;
                border: 1px solid #d1d5db !important;
                background: #fff !important;
            }

            body.wp-admin:is(.wm-admin-view-wm_site_health) .wm-site-health .wm-status-line{
                display: inline-flex;
                align-items: center;
                gap: 8px;
                min-height: 22px;
                color: var(--wm-muted);
                font-weight: 600;
            }

            body.wp-admin:is(.wm-admin-view-wm_site_health) .wm-site-health .wm-results-wrap{
                margin-top: 18px;
                padding: 18px;
                border: 1px solid var(--wm-border);
                border-radius: 16px;
                background: #fafafa;
            }

            body.wp-admin:is(.wm-admin-view-wm_site_health) .wm-site-health .wm-results-wrap h3{
                margin: 0 0 14px;
                font-size: 16px;
            }

            body.wp-admin:is(.wm-admin-view-wm_site_health) .wm-site-health .wm-progress-wrap{
                margin-top: 18px;
                padding: 18px;
                border: 1px solid var(--wm-border);
                border-radius: 16px;
                background: #fafafa;
            }

            body.wp-admin:is(.wm-admin-view-wm_site_health) .wm-site-health .wm-progress-head{
                display: flex;
                align-items: center;
                gap: 14px;
                flex-wrap: wrap;
                margin-bottom: 14px;
            }

            body.wp-admin:is(.wm-admin-view-wm_site_health) .wm-site-health .wm-progress-track{
                width: 320px;
                max-width: 100%;
                height: 14px;
                background: #e5e7eb;
                border-radius: 999px;
                overflow: hidden;
                position: relative;
            }

            body.wp-admin:is(.wm-admin-view-wm_site_health) .wm-site-health .wm-progress-bar{
                height: 100%;
                width: 0%;
                background: linear-gradient(90deg, #ffcc00 0%, #ffdb4d 100%);
                border-radius: 999px;
                transition: width .25s ease;
            }

            body.wp-admin:is(.wm-admin-view-wm_site_health) .wm-site-health .wm-check-results-box{
                max-height: 320px;
                overflow-y: auto;
                background: #fff;
                border: 1px solid var(--wm-border);
                border-radius: 14px;
                padding: 12px 14px;
                font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
            }

            body.wp-admin:is(.wm-admin-view-wm_site_health) .wm-site-health .wm-log-line{
                padding: 8px 10px;
                border-bottom: 1px solid #f1f1f1;
            }

            body.wp-admin:is(.wm-admin-view-wm_site_health) .wm-site-health .wm-log-line:last-child{
                border-bottom: 0;
            }

            body.wp-admin:is(.wm-admin-view-wm_site_health) .wm-site-health .wm-log-line.is-error{
                color: var(--wm-danger);
                background: rgba(217, 48, 37, 0.04);
                border-radius: 10px;
            }

            body.wp-admin:is(.wm-admin-view-wm_site_health) .wm-site-health .wm-log-line.is-ok{
                color: #0f5132;
                background: rgba(26, 155, 95, 0.05);
                border-radius: 10px;
            }

            body.wp-admin:is(.wm-admin-view-wm_site_health) .wm-site-health .wm-filter-bar{
                display: flex;
                flex-wrap: wrap;
                gap: 10px;
                align-items: center;
                margin-top: 16px;
                margin-bottom: 16px;
            }

            body.wp-admin:is(.wm-admin-view-wm_site_health) .wm-site-health .wm-table-wrap{
                overflow-x: auto;
                border: 1px solid var(--wm-border);
                border-radius: 16px;
            }

            body.wp-admin:is(.wm-admin-view-wm_site_health) .wm-site-health table.wm-table{
                width: 100%;
                border-collapse: collapse;
                background: #fff;
            }

            body.wp-admin:is(.wm-admin-view-wm_site_health) .wm-site-health table.wm-table thead th{
                background: #111827;
                color: #fff;
                font-weight: 700;
                padding: 14px 12px;
                border: 0;
                text-align: left;
                white-space: nowrap;
            }

            body.wp-admin:is(.wm-admin-view-wm_site_health) .wm-site-health table.wm-table tbody td{
                padding: 12px;
                border-bottom: 1px solid #f1f5f9;
                vertical-align: top;
            }

            body.wp-admin:is(.wm-admin-view-wm_site_health) .wm-site-health table.wm-table tbody tr:hover{
                background: #fcfcfd;
            }

            body.wp-admin:is(.wm-admin-view-wm_site_health) .wm-site-health .wm-badge{
                display: inline-flex;
                align-items: center;
                gap: 6px;
                padding: 6px 10px;
                border-radius: 999px;
                font-size: 12px;
                font-weight: 700;
                line-height: 1;
                white-space: nowrap;
            }

            body.wp-admin:is(.wm-admin-view-wm_site_health) .wm-site-health .wm-badge.ok{
                background: rgba(26, 155, 95, 0.12);
                color: #0f7a4c;
            }

            body.wp-admin:is(.wm-admin-view-wm_site_health) .wm-site-health .wm-badge.error{
                background: rgba(217, 48, 37, 0.1);
                color: #b42318;
            }

            body.wp-admin:is(.wm-admin-view-wm_site_health) .wm-site-health .wm-badge.neutral{
                background: #f3f4f6;
                color: #374151;
            }

            body.wp-admin:is(.wm-admin-view-wm_site_health) .wm-site-health .wm-code{
                display: inline-block;
                font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
                background: #f4f4f5;
                border: 1px solid #e4e4e7;
                border-radius: 10px;
                padding: 4px 8px;
                font-size: 12px;
                color: #111827;
                max-width: 100%;
                word-break: break-word;
            }

            body.wp-admin:is(.wm-admin-view-wm_site_health) .wm-site-health .wm-detail-cell{
                white-space: pre-line;
                color: #374151;
            }

            body.wp-admin:is(.wm-admin-view-wm_site_health) .wm-site-health .wm-pagination{
                margin-top: 16px;
            }

            body.wp-admin:is(.wm-admin-view-wm_site_health) .wm-site-health .wm-pagination .page-numbers{
                display: inline-flex;
                align-items: center;
                justify-content: center;
                min-width: 38px;
                height: 38px;
                padding: 0 10px;
                margin-right: 6px;
                border-radius: 10px;
                text-decoration: none;
                border: 1px solid #d1d5db;
                background: #fff;
                color: #111827;
            }

            body.wp-admin:is(.wm-admin-view-wm_site_health) .wm-site-health .wm-pagination .page-numbers.current{
                background: #111827;
                border-color: #111827;
                color: #fff;
            }

            body.wp-admin:is(.wm-admin-view-wm_site_health) .wm-site-health .wm-empty{
                margin: 0;
                padding: 18px;
                border: 1px dashed #d1d5db;
                border-radius: 14px;
                background: #fafafa;
                color: var(--wm-muted);
            }

            @media (max-width: 782px) {
                body.wp-admin:is(.wm-admin-view-wm_site_health) .wm-site-health .wm-page-header{
                    padding: 22px 18px;
                    border-radius: 18px;
                }

                body.wp-admin:is(.wm-admin-view-wm_site_health) .wm-site-health .wm-page-title{
                    font-size: 24px;
                }

                body.wp-admin:is(.wm-admin-view-wm_site_health) .wm-site-health .wm-card-head,
body.wp-admin:is(.wm-admin-view-wm_site_health) .wm-site-health .wm-card-body{
                    padding-left: 16px;
                    padding-right: 16px;
                }

                body.wp-admin:is(.wm-admin-view-wm_site_health) .wm-site-health .wm-progress-track{
                    width: 100%;
                }

                body.wp-admin:is(.wm-admin-view-wm_site_health) .wm-site-health table.wm-table thead th,
body.wp-admin:is(.wm-admin-view-wm_site_health) .wm-site-health table.wm-table tbody td{
                    padding: 10px;
                }
            }
/* ========== КОНЕЦ: Админка: site health page ========== */


/* ========== НАЧАЛО: ТОП-карточки — устранение пустоты ========== */
body.wm-site .wm-top-slider .swiper-wrapper { align-items: flex-start; }
body.wm-site .wm-top-slider .swiper-slide { height: auto; align-self: flex-start; }
body.wm-site .wm-top-slider .card { height: auto; }
/* ========== КОНЕЦ: ТОП-карточки — устранение пустоты ========== */


/* ========== НАЧАЛО: Админка — генератор описания ========== */
body.wp-admin .wm-generate-desc-btn:hover { background: #8e44ad !important; }
/* ========== КОНЕЦ: Админка — генератор описания ========== */


/* ========== НАЧАЛО: Админка — обзор возможностей ========== */
body.wp-admin.wm-admin-view-wm_overview .wm-admin-overview__groups {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 18px;
    max-width: 1160px;
    margin-top: 24px;
}
body.wp-admin.wm-admin-view-wm_overview .wm-admin-overview__group {
    background: #fff;
    border: 1px solid #dcdcde;
    border-radius: 10px;
    padding: 18px 22px;
}
body.wp-admin.wm-admin-view-wm_overview .wm-admin-overview__group h2 { margin: 0 0 16px; }
body.wp-admin.wm-admin-view-wm_overview .wm-admin-overview__group ul { margin: 0; }
body.wp-admin.wm-admin-view-wm_overview .wm-admin-overview__group li { margin: 0 0 10px; }
body.wp-admin.wm-admin-view-wm_overview .wm-admin-overview__group a { font-size: 14px; }
/* ========== КОНЕЦ: Админка — обзор возможностей ========== */

/* ========== НАЧАЛО: Похожие анкеты — слайдер детальной страницы ========== */
/* Каждый слайд принимает высоту своей карточки, как в исправленном ТОП-слайдере. */
body.wm-site .similar-swiper .swiper-wrapper { align-items: flex-start; height: auto; }
body.wm-site .similar-swiper .swiper-slide { height: auto; align-self: flex-start; }
body.wm-site .similar-swiper .card { height: auto; min-height: 0; }
body.wm-site .similar-swiper .wm-similar-prev,
body.wm-site .similar-swiper .wm-similar-next {
    width: 42px;
    height: 42px;
    border: 1px solid rgba(196, 69, 92, 0.45);
    border-radius: 50%;
    background: rgba(35, 34, 32, 0.94);
    color: #fff;
}
body.wm-site .similar-swiper .wm-similar-prev::after,
body.wm-site .similar-swiper .wm-similar-next::after { font-size: 16px; font-weight: 800; }
body.wm-site .similar-swiper .wm-similar-prev:hover,
body.wm-site .similar-swiper .wm-similar-next:hover { background: var(--accent); }
@media (max-width: 767px) {
    body.wm-site .similar-swiper .wm-similar-prev,
    body.wm-site .similar-swiper .wm-similar-next { display: none; }
}
/* ========== КОНЕЦ: Похожие анкеты — слайдер детальной страницы ========== */

/* ========== НАЧАЛО: маска отправки кода ========== */
/* Маска видна только во время отправки формы регистрации или восстановления. */
body.wm-site .register-page form,
body.wm-site .login-page form { position: relative; }
body.wm-site .wm-mail-send-mask {
    position: absolute;
    z-index: 20;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 130px;
    padding: 24px;
    border: 1px solid rgba(196, 69, 92, 0.38);
    border-radius: 18px;
    background: rgba(31, 29, 29, 0.96);
    color: #fff;
    text-align: center;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.35);
    cursor: wait;
}
body.wm-site .wm-mail-send-mask strong { font-size: 17px; line-height: 1.3; }
body.wm-site .wm-mail-send-mask span:last-child { color: rgba(255, 255, 255, 0.68); font-size: 13px; }
body.wm-site .wm-mail-send-spinner {
    width: 36px;
    height: 36px;
    margin-bottom: 5px;
    border: 3px solid rgba(255, 255, 255, 0.17);
    border-top-color: #d75970;
    border-radius: 50%;
    animation: wm-mail-send-spin 0.8s linear infinite;
}
@keyframes wm-mail-send-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) {
    body.wm-site .wm-mail-send-spinner { animation-duration: 2s; }
}
/* ========== КОНЕЦ: маска отправки кода ========== */

/* ========== НАЧАЛО: места встречи в форме и фильтрах ========== */
.anketa-meeting-field{margin:24px 0;padding:20px;border:1px solid rgba(255,255,255,.14);border-radius:16px;background:rgba(255,255,255,.035);}
.anketa-meeting-field__title{font-size:18px;font-weight:700;color:#fff;}
.anketa-meeting-field__title span{margin-left:8px;font-size:12px;font-weight:500;color:#aaa;}
.anketa-meeting-field p{margin:6px 0 16px;color:#aaa;font-size:13px;}
.anketa-meeting-field__options,.wm-meeting-options{display:flex;flex-wrap:wrap;gap:9px;}
.anketa-meeting-field__option,.wm-meeting-option{position:relative;display:inline-flex;align-items:center;cursor:pointer;}
.anketa-meeting-field__option input,.wm-meeting-option input{position:absolute;opacity:0;width:1px;height:1px;}
.anketa-meeting-field__option span,.wm-meeting-option span,.wm-meeting-options .wm-district-link{display:inline-flex;align-items:center;min-height:38px;padding:8px 14px;border:1px solid rgba(255,255,255,.17);border-radius:999px;color:#d9d9d9;background:#343230;font-size:13px;line-height:1.2;text-decoration:none;transition:background .18s,border-color .18s,color .18s;}
.anketa-meeting-field__option:hover span,.wm-meeting-option:hover span,.wm-meeting-options .wm-district-link:hover{border-color:#c4455c;color:#fff;}
.anketa-meeting-field__option input:checked+span,.wm-meeting-option input:checked+span{color:#fff;background:#a93c53;border-color:#d65a73;}
.anketa-meeting-field__option input:focus-visible+span,.wm-meeting-option input:focus-visible+span{outline:2px solid #fff;outline-offset:3px;}
body.wm-site .wm-filter-row--meeting{margin:14px 0 28px;}
/* ========== КОНЕЦ: места встречи в форме и фильтрах ========== */

/* ========== НАЧАЛО: места встречи на странице анкеты ========== */
body.wm-site .anketa-meeting-card{margin-top:18px;}
body.wm-site .anketa-meeting-card__places{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px;}
body.wm-site .anketa-meeting-card__places span{padding:8px 13px;border:1px solid rgba(196,69,92,.32);border-radius:999px;background:rgba(196,69,92,.12);color:#fff;font-size:13px;}
/* ========== КОНЕЦ: места встречи на странице анкеты ========== */

/* ========== НАЧАЛО: блог и карусель статей ========== */
body.wm-site:is(.wm-view-archive-wm_article,.wm-view-single-wm_article) .wm-blog-hero{border-color:rgba(196,69,92,.24);box-shadow:0 28px 65px rgba(0,0,0,.16);}
body.wm-site:is(.wm-view-archive-wm_article,.wm-view-single-wm_article) .wm-blog-card{box-shadow:0 18px 45px rgba(0,0,0,.15);}
body.wm-site:is(.wm-view-archive-wm_article,.wm-view-single-wm_article) .wm-blog-card__meta time,body.wm-site:is(.wm-view-archive-wm_article,.wm-view-single-wm_article) .wm-related-card time{display:inline-flex;padding:6px 10px;border-radius:999px;background:rgba(196,69,92,.12);color:#e6a6b5;}
body.wm-site .wm-related-articles__actions{display:flex;align-items:center;gap:10px;}
body.wm-site .wm-related-articles__arrow{width:38px;height:38px;border:1px solid rgba(196,69,92,.4);border-radius:50%;background:#353130;color:#fff;font-size:30px;line-height:1;cursor:pointer;}
body.wm-site .wm-related-articles__arrow:hover:not(:disabled){background:#a93c53;}
body.wm-site .wm-related-articles__arrow:disabled{opacity:.35;cursor:default;}
body.wm-site .wm-related-grid{display:flex!important;gap:18px;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;scroll-behavior:smooth;}
body.wm-site .wm-related-grid::-webkit-scrollbar{display:none;}
body.wm-site .wm-related-card{flex:0 0 calc((100% - 36px)/3);scroll-snap-align:start;min-width:0;}
body.wm-site .wm-related-articles__dots{display:flex;justify-content:center;flex-wrap:wrap;gap:7px;margin-top:18px;}
body.wm-site .wm-related-articles__dots button{width:7px;height:7px;padding:0;border:0;border-radius:50%;background:#777;cursor:pointer;}
body.wm-site .wm-related-articles__dots button[aria-current="true"]{width:21px;border-radius:7px;background:#c4455c;}
@media(max-width:850px){body.wm-site .wm-related-card{flex-basis:calc((100% - 18px)/2);}}
@media(max-width:580px){body.wm-site .wm-related-card{flex-basis:85%;}}
/* ========== КОНЕЦ: блог и карусель статей ========== */





/* ========== НАЧАЛО: H1 на страницах таксономий ========== */
body.wm-site .wm-taxonomy-page-title{
    position: relative;
    padding-bottom: 16px;
}

body.wm-site .wm-taxonomy-page-title::after{
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 76px;
    height: 3px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--accent), var(--accent-hover));
    box-shadow: 0 0 18px rgba(196, 69, 92, 0.28);
}

@media (max-width: 768px){
    body.wm-site .wm-taxonomy-page-title{
        padding-bottom: 13px;
    }

    body.wm-site .wm-taxonomy-page-title::after{
        width: 58px;
    }
}
/* ========== КОНЕЦ: H1 на страницах таксономий ========== */

/* ========== НАЧАЛО: админская привязка дополнительных параметров ========== */
.wm-admin-post-anketa .wm-extra-tools{
    margin: 24px 0 0;
    padding: 20px;
    max-width: 980px;
    background: #ffffff;
    border: 1px solid #c3c4c7;
    border-left: 4px solid #c4455c;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.04);
}

.wm-admin-post-anketa .wm-extra-tools h2{margin: 0 0 8px;}
.wm-admin-post-anketa .wm-extra-tools__stats{display: flex;gap: 12px;flex-wrap: wrap;margin: 16px 0;}
.wm-admin-post-anketa .wm-extra-tools__stats span{padding: 9px 12px;background: #f0f0f1;border-radius: 4px;}
.wm-admin-post-anketa .wm-extra-tools__actions{display: flex;gap: 8px;flex-wrap: wrap;margin-bottom: 10px;}
.wm-admin-post-anketa .wm-extra-tools__progress{min-height: 20px;font-weight: 600;}
.wm-admin-post-anketa .wm-extra-tools__progress.is-error{color: #b32d2e;}
.wm-admin-post-anketa .wm-extra-tools__progress.is-success{color: #008a20;}
/* ========== КОНЕЦ: админская привязка дополнительных параметров ========== */

/* ========== НАЧАЛО: единая компоновка фильтров каталога ========== */
body.wm-site .wm-top-title__accent{color: var(--accent);}
body.wm-site .wm-phone-revealed{color: var(--text-main);font-weight: 800;}

/* Акцент проверенной анкеты в верхнем ТОП-слайдере. */
body.wm-site .wm-top-slider .top-card{position: relative;padding-top: 54px;}
body.wm-site .wm-top-slider .top-card::before{top: 16px;left: 16px;}
body.wm-site .wm-top-slider .wm-top-verified-label{position: absolute;top: 12px;right: 16px;z-index: 15;display: inline-flex;align-items: center;justify-content: center;padding: 7px 14px;border-radius: 999px;background: linear-gradient(135deg,#fff0f4 0%,#ffe6ec 100%);border: 2px solid var(--accent);box-shadow: 0 0 0 4px rgba(196,69,92,.10),0 7px 18px rgba(196,69,92,.22);color: var(--accent);font-size: 10px;font-weight: 900;line-height: 1;letter-spacing: .045em;text-transform: uppercase;white-space: nowrap;}
body.wm-site .wm-top-slider .wm-top-verified-label:hover{transform: translateY(-1px);box-shadow: 0 0 0 5px rgba(196,69,92,.14),0 9px 22px rgba(196,69,92,.28);}
body.wm-site .wm-top-slider .wm-top-verified-check{display: inline-flex;align-items: center;justify-content: center;flex: 0 0 auto;width: 18px;height: 18px;margin-left: 2px;filter: drop-shadow(0 2px 4px rgba(34,197,94,.28));}
body.wm-site .wm-top-slider .wm-top-verified-check svg{display: block;width: 18px;height: 18px;}

body.wm-site .wm-filter-row--status{
    display: flex;
    align-items: center;
    margin: 0 0 20px;
    padding: 12px 14px;
    border: 1px solid rgba(196, 69, 92, 0.24);
    border-radius: var(--radius-md);
    background: rgba(196, 69, 92, 0.07);
}

body.wm-site .wm-filter-row--status .wm-checks{width: 100%;}
body.wm-site .wm-filter-row--bottom{justify-content: flex-end;}
body.wm-site .wm-load-more-wrap{display: flex;justify-content: center;width: 100%;margin-top: 32px;}
body.wm-site .wm-load-more{min-width: 230px;}
body.wm-site .wm-tax-link.is-active{color: #ffffff;font-weight: 800;border-bottom-color: var(--accent);}
body.wm-site .wm-tax-empty{margin: 9px 0 0;color: var(--text-soft);font-size: 13px;}

@media (max-width: 768px){
    body.wm-site .wm-filter-row--status{margin-bottom: 16px;padding: 12px;}
    body.wm-site .wm-filter-row--status .wm-checks{display: grid;grid-template-columns: 1fr;gap: 10px;}
}
/* ========== КОНЕЦ: единая компоновка фильтров каталога ========== */

/* ========== НАЧАЛО: избранное и SVG-иконки меню ========== */
body.wm-site .header-favorites{
    width: auto;
    min-width: 116px;
    padding: 0 15px;
    gap: 8px;
}

body.wm-site .header-favorites-label{color: rgba(255,255,255,.86);font-size: 13px;font-weight: 750;}
body.wm-site .header-favorites-count{right: -5px;}
body.wm-site .header-account-menu-item{justify-content: flex-start;gap: 10px;}
body.wm-site .header-account-menu-icon{display: inline-flex;align-items: center;justify-content: center;width: 25px;height: 25px;flex: 0 0 25px;border-radius: 8px;color: var(--accent-hover);background: rgba(196,69,92,.11);}
body.wm-site .header-account-menu-title{flex: 1 1 auto;}
body.wm-site .wm-menu-icon{display: block;width: 18px;height: 18px;}
body.wm-site .mobile-menu-link > .wm-menu-icon{width: 21px;height: 21px;flex: 0 0 21px;color: var(--accent-hover);}

/* У дочернего блока избранного раньше повторялся padding родительской ссылки. */
body.wm-site .mobile-menu-link .mobile-favorites{width: 100%;padding: 0;border-left: 0;gap: 12px;}
body.wm-site .mobile-menu-link:hover .mobile-favorites{background: transparent;border-left-color: transparent;}
/* ========== КОНЕЦ: избранное и SVG-иконки меню ========== */

/* ========== НАЧАЛО: мобильная версия Miracle Shorts ========== */
body.wm-site:where(.wm-view-miracle_shorts) .shorts-bg-image{width: 100%;height: 100%;object-fit: cover;display: block;}
body.wm-site:where(.wm-view-miracle_shorts) .shorts-copy-notice{position: fixed;left: 50%;bottom: 90px;z-index: 200;padding: 10px 14px;border-radius: 999px;background: rgba(20,20,20,.88);border: 1px solid rgba(255,255,255,.12);color: #fff;font-size: 13px;font-weight: 800;opacity: 0;pointer-events: none;transform: translateX(-50%);transition: opacity .18s ease;}
body.wm-site:where(.wm-view-miracle_shorts) .shorts-copy-notice.is-visible{opacity: 1;}
body.wm-site:where(.wm-view-miracle_shorts) .shorts-mobile-nav{display: none;}

@media (max-width: 768px){
    body.wm-site:where(.wm-view-miracle_shorts){overflow: hidden;background: #000;}
    body.wm-site:where(.wm-view-miracle_shorts) > header,
    body.wm-site:where(.wm-view-miracle_shorts) .mobile-menu,
    body.wm-site:where(.wm-view-miracle_shorts) .mobile-menu-overlay,
    body.wm-site:where(.wm-view-miracle_shorts) .footer,
    body.wm-site:where(.wm-view-miracle_shorts) #wm-mw{display: none !important;}

    body.wm-site:where(.wm-view-miracle_shorts) .miracle-shorts-page,
    body.wm-site:where(.wm-view-miracle_shorts) .miracle-shorts-shell,
    body.wm-site:where(.wm-view-miracle_shorts) .shorts-feed,
    body.wm-site:where(.wm-view-miracle_shorts) .shorts-item{width: 100%;height: 100dvh;min-height: 0;margin: 0;}

    body.wm-site:where(.wm-view-miracle_shorts) .shorts-topbar,
    body.wm-site:where(.wm-view-miracle_shorts) .shorts-history-toggle,
    body.wm-site:where(.wm-view-miracle_shorts) .shorts-swipe-hint{display: none !important;}

    body.wm-site:where(.wm-view-miracle_shorts) .shorts-video-frame{width: 100vw;height: 100dvh;border: 0;border-radius: 0;}
    body.wm-site:where(.wm-view-miracle_shorts) .shorts-overlay{padding: 0 72px calc(92px + env(safe-area-inset-bottom)) 15px;}
    body.wm-site:where(.wm-view-miracle_shorts) .shorts-actions{right: 11px;bottom: calc(158px + env(safe-area-inset-bottom));gap: 11px;}
    body.wm-site:where(.wm-view-miracle_shorts) .shorts-desc{-webkit-line-clamp: 1;}
    body.wm-site:where(.wm-view-miracle_shorts) .shorts-history{z-index: 240;padding-bottom: calc(82px + env(safe-area-inset-bottom));}
    body.wm-site:where(.wm-view-miracle_shorts) .shorts-copy-notice{bottom: calc(92px + env(safe-area-inset-bottom));}

    body.wm-site:where(.wm-view-miracle_shorts) .shorts-mobile-nav{
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 230;
        display: grid;
        grid-template-columns: repeat(5, minmax(0, 1fr));
        align-items: end;
        min-height: calc(68px + env(safe-area-inset-bottom));
        padding: 7px 5px max(7px, env(safe-area-inset-bottom));
        background: linear-gradient(180deg, rgba(16,16,16,.84), rgba(9,9,9,.98));
        border-top: 1px solid rgba(255,255,255,.11);
        backdrop-filter: blur(18px);
        -webkit-backdrop-filter: blur(18px);
    }

    body.wm-site:where(.wm-view-miracle_shorts) .shorts-mobile-nav__item{display: flex;flex-direction: column;align-items: center;justify-content: flex-end;gap: 4px;min-width: 0;color: rgba(255,255,255,.68);font-size: 10px;font-weight: 750;line-height: 1;text-decoration: none;}
    body.wm-site:where(.wm-view-miracle_shorts) .shorts-mobile-nav__item:hover,
    body.wm-site:where(.wm-view-miracle_shorts) .shorts-mobile-nav__item.is-active{color: #fff;}
    body.wm-site:where(.wm-view-miracle_shorts) .shorts-mobile-nav__item > svg{width: 23px;height: 23px;stroke: currentColor;stroke-width: 1.8;stroke-linecap: round;stroke-linejoin: round;}
    body.wm-site:where(.wm-view-miracle_shorts) .shorts-mobile-nav__main-icon{width: 42px;height: 34px;margin-top: -15px;border-radius: 12px;display: flex;align-items: center;justify-content: center;color: #fff;background: linear-gradient(135deg,var(--accent),var(--accent-hover));box-shadow: 0 8px 24px rgba(196,69,92,.34);}
    body.wm-site:where(.wm-view-miracle_shorts) .shorts-mobile-nav__main-icon svg{width: 24px;height: 24px;stroke: currentColor;stroke-width: 1.8;stroke-linecap: round;stroke-linejoin: round;}
}
/* ========== КОНЕЦ: мобильная версия Miracle Shorts ========== */

/* ========== НАЧАЛО: обновлённый интерфейс мессенджера ========== */
body.wm-site:where(.wm-view-page-messenger){
    background:
        radial-gradient(circle at 82% 18%, rgba(196,69,92,.11), transparent 31rem),
        radial-gradient(circle at 10% 82%, rgba(196,69,92,.06), transparent 27rem),
        #171717;
}

body.wm-site:where(.wm-view-page-messenger) .wm-messenger-page{
    min-height: calc(100dvh - 84px);
    padding: 22px 0 34px;
}

body.wm-site:where(.wm-view-page-messenger) .messenger-wrapper{
    width: min(1420px, calc(100% - 32px));
    height: clamp(650px, calc(100dvh - 142px), 880px);
    min-height: 0;
    margin: 0 auto;
    grid-template-columns: 335px minmax(0, 1fr);
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 22px;
    box-shadow: 0 28px 80px rgba(0,0,0,.42), 0 0 0 1px rgba(196,69,92,.05) inset;
}

body.wm-site:where(.wm-view-page-messenger) .messenger-sidebar{
    background: linear-gradient(180deg,#232220 0%,#1d1c1b 100%);
}

body.wm-site:where(.wm-view-page-messenger) .messenger-my-profile{
    min-height: 96px;
    padding: 17px 18px;
    background:
        linear-gradient(135deg,rgba(196,69,92,.15),transparent 65%),
        #232220;
}

body.wm-site:where(.wm-view-page-messenger) .avatar-wrapper,
body.wm-site:where(.wm-view-page-messenger) .user-avatar-wrap,
body.wm-site:where(.wm-view-page-messenger) .user-avatar-small,
body.wm-site:where(.wm-view-page-messenger) .message-avatar{
    border-radius: 50%;
}

body.wm-site:where(.wm-view-page-messenger) .avatar-wrapper{
    width: 60px;
    height: 60px;
    border: 2px solid rgba(196,69,92,.58);
    box-shadow: 0 0 0 4px rgba(196,69,92,.1);
}

body.wm-site:where(.wm-view-page-messenger) .sidebar-header{
    padding: 19px 18px 12px;
    background: transparent;
    border-bottom: 0;
}

body.wm-site:where(.wm-view-page-messenger) .sidebar-header h3{
    font-size: 25px;
}

body.wm-site:where(.wm-view-page-messenger) .users-list{
    padding: 4px 12px 14px;
}

body.wm-site:where(.wm-view-page-messenger) .user-list-item{
    min-height: 72px;
    margin-bottom: 7px;
    padding: 10px 12px;
    border-radius: 15px;
}

body.wm-site:where(.wm-view-page-messenger) .user-list-item::before{
    content: "";
    position: absolute;
    top: 16px;
    bottom: 16px;
    left: 0;
    width: 3px;
    border-radius: 0 4px 4px 0;
    background: var(--wm-accent-hover);
    opacity: 0;
    transition: opacity .2s ease;
}

body.wm-site:where(.wm-view-page-messenger) .user-list-item:hover{
    background: rgba(255,255,255,.06);
}

body.wm-site:where(.wm-view-page-messenger) .user-list-item.active{
    background: linear-gradient(90deg,rgba(196,69,92,.2),rgba(196,69,92,.08));
    border-color: rgba(196,69,92,.42);
}

body.wm-site:where(.wm-view-page-messenger) .user-list-item.active::before{
    opacity: 1;
}

body.wm-site:where(.wm-view-page-messenger) .user-avatar-wrap{
    width: 50px;
    height: 50px;
    min-width: 50px;
    border-color: rgba(255,255,255,.2);
}

body.wm-site:where(.wm-view-page-messenger) .messenger-content{
    grid-template-rows: 82px minmax(0,1fr) auto;
    background:
        linear-gradient(rgba(255,255,255,.018) 1px,transparent 1px),
        linear-gradient(90deg,rgba(255,255,255,.018) 1px,transparent 1px),
        radial-gradient(circle at 75% 8%,rgba(196,69,92,.11),transparent 28rem),
        #181716;
    background-size: 36px 36px,36px 36px,auto,auto;
}

body.wm-site:where(.wm-view-page-messenger) .chat-header{
    height: 82px;
    min-height: 82px;
    padding: 14px 22px;
    background: rgba(31,30,28,.9);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

body.wm-site:where(.wm-view-page-messenger) .chat-header-icon{
    width: 48px;
    height: 48px;
    min-width: 48px;
    border-radius: 15px;
    color: var(--wm-accent-hover);
    background: rgba(196,69,92,.11);
    border-color: rgba(196,69,92,.28);
}

body.wm-site:where(.wm-view-page-messenger) .user-avatar-small{
    width: 50px;
    height: 50px;
    min-width: 50px;
    border: 2px solid rgba(196,69,92,.48);
}

body.wm-site:where(.wm-view-page-messenger) .chat-avatar-placeholder{
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    color: #fff;
    background: linear-gradient(135deg,var(--wm-accent),var(--wm-accent-dark));
}

body.wm-site:where(.wm-view-page-messenger) .user-info .user-status{
    display: flex;
    align-items: center;
    gap: 7px;
}

body.wm-site:where(.wm-view-page-messenger) .user-info .user-status i{
    width: 7px;
    height: 7px;
    flex: 0 0 7px;
    border-radius: 50%;
    background: #31c66b;
    box-shadow: 0 0 0 4px rgba(49,198,107,.12);
}

body.wm-site:where(.wm-view-page-messenger) .messages-container{
    padding: clamp(16px,2.3vw,34px);
    background: transparent;
}

body.wm-site:where(.wm-view-page-messenger) .empty-chat__panel{
    position: relative;
    width: min(500px,100%);
    padding: 42px 38px 36px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 24px;
    background: linear-gradient(145deg,rgba(47,45,42,.88),rgba(31,30,28,.78));
    box-shadow: 0 24px 65px rgba(0,0,0,.28);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

body.wm-site:where(.wm-view-page-messenger) .empty-chat__panel::before{
    content: "";
    position: absolute;
    width: 190px;
    height: 190px;
    top: -110px;
    right: -70px;
    border-radius: 50%;
    background: rgba(196,69,92,.18);
    filter: blur(2px);
    pointer-events: none;
}

body.wm-site:where(.wm-view-page-messenger) .empty-chat__eyebrow{
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
    color: rgba(255,255,255,.58);
    font-size: 11px;
    font-weight: 850;
    letter-spacing: .13em;
    text-transform: uppercase;
}

body.wm-site:where(.wm-view-page-messenger) .empty-chat__eyebrow span{
    width: 24px;
    height: 2px;
    border-radius: 99px;
    background: var(--wm-accent-hover);
}

body.wm-site:where(.wm-view-page-messenger) .empty-chat__icon{
    width: 92px;
    height: 92px;
    margin: 0 auto 22px;
    border-radius: 28px;
    color: #fff;
    border-color: rgba(196,69,92,.45);
    background: linear-gradient(145deg,rgba(196,69,92,.9),rgba(134,39,57,.9));
    box-shadow: 0 16px 35px rgba(196,69,92,.25),0 0 0 9px rgba(196,69,92,.07);
}

body.wm-site:where(.wm-view-page-messenger) .empty-chat__icon--small{
    width: 68px;
    height: 68px;
    border-radius: 21px;
    font-size: 26px;
}

body.wm-site:where(.wm-view-page-messenger) .empty-chat h2{
    margin: 0 0 11px;
    color: #fff;
    font-size: clamp(23px,2.4vw,32px);
    line-height: 1.15;
    letter-spacing: -.035em;
}

body.wm-site:where(.wm-view-page-messenger) .empty-chat p{
    max-width: 390px;
    margin: 0 auto;
    color: rgba(255,255,255,.62);
    font-size: 14px;
    line-height: 1.65;
}

body.wm-site:where(.wm-view-page-messenger) .empty-chat__features{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-top: 24px;
}

body.wm-site:where(.wm-view-page-messenger) .empty-chat__features span{
    padding: 8px 11px;
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 999px;
    color: rgba(255,255,255,.7);
    background: rgba(255,255,255,.045);
    font-size: 11px;
    font-weight: 750;
}

body.wm-site:where(.wm-view-page-messenger) .message-body{
    padding: 12px 15px;
    border-radius: 16px 16px 16px 5px;
    box-shadow: 0 8px 20px rgba(0,0,0,.14);
}

body.wm-site:where(.wm-view-page-messenger) .message-item.me .message-body{
    border-radius: 16px 16px 5px 16px;
}

body.wm-site:where(.wm-view-page-messenger) .message-input-container{
    min-height: 86px;
    padding: 14px 20px;
    background: rgba(31,30,28,.94);
}

body.wm-site:where(.wm-view-page-messenger) .input-wrapper{
    border-radius: 18px;
    background: rgba(255,255,255,.065);
}

body.wm-site:where(.wm-view-page-messenger) #messenger-send-status:empty{
    display: none;
}

body.wm-site:where(.wm-view-page-messenger) .file-toggle,
body.wm-site:where(.wm-view-page-messenger) .send-button{
    border-radius: 13px;
}

body.wm-site:where(.wm-view-page-messenger) .messenger-content.is-chat-empty .input-wrapper{
    opacity: .56;
}

@media (min-width:821px) and (max-width:1100px){
    body.wm-site:where(.wm-view-page-messenger) .messenger-wrapper{
        width: calc(100% - 24px);
        height: clamp(620px,calc(100dvh - 124px),840px);
        grid-template-columns: 300px minmax(0,1fr);
        grid-template-rows: 1fr;
    }
    body.wm-site:where(.wm-view-page-messenger) .messenger-sidebar{height:100%;border-right:1px solid var(--wm-border);border-bottom:0;}
}

@media (max-width:820px){
    body.wm-site:where(.wm-view-page-messenger) .wm-messenger-page{padding:12px 0 22px;}
    body.wm-site:where(.wm-view-page-messenger) .messenger-wrapper{
        width: calc(100% - 18px);
        height: calc(100dvh - 106px);
        min-height: 590px;
        margin: 0 auto;
        grid-template-columns:1fr;
        grid-template-rows:240px minmax(0,1fr);
        border-radius:18px;
    }
    body.wm-site:where(.wm-view-page-messenger) .messenger-sidebar{height:240px;border-right:0;border-bottom:1px solid var(--wm-border);}
    body.wm-site:where(.wm-view-page-messenger) .messenger-my-profile{min-height:76px;padding:10px 14px;}
    body.wm-site:where(.wm-view-page-messenger) .avatar-wrapper{width:50px;height:50px;}
    body.wm-site:where(.wm-view-page-messenger) .sidebar-header{padding:11px 14px 6px;}
    body.wm-site:where(.wm-view-page-messenger) .sidebar-header h3{font-size:19px;}
    body.wm-site:where(.wm-view-page-messenger) .sidebar-header p{margin-top:2px;}
    body.wm-site:where(.wm-view-page-messenger) .users-list{padding:3px 8px 8px;}
    body.wm-site:where(.wm-view-page-messenger) .user-list-item{min-height:58px;margin-bottom:4px;padding:7px 9px;}
    body.wm-site:where(.wm-view-page-messenger) .user-avatar-wrap{width:42px;height:42px;min-width:42px;}
    body.wm-site:where(.wm-view-page-messenger) .messenger-content{grid-template-rows:68px minmax(0,1fr) auto;}
    body.wm-site:where(.wm-view-page-messenger) .chat-header{height:68px;min-height:68px;padding:9px 13px;}
    body.wm-site:where(.wm-view-page-messenger) .chat-header-icon,
    body.wm-site:where(.wm-view-page-messenger) .user-avatar-small{width:45px;height:45px;min-width:45px;}
    body.wm-site:where(.wm-view-page-messenger) .messages-container{padding:12px;}
    body.wm-site:where(.wm-view-page-messenger) .empty-chat__panel{padding:24px 18px 22px;border-radius:19px;}
    body.wm-site:where(.wm-view-page-messenger) .empty-chat__eyebrow{margin-bottom:12px;}
    body.wm-site:where(.wm-view-page-messenger) .empty-chat__icon{width:64px;height:64px;margin-bottom:15px;border-radius:20px;}
    body.wm-site:where(.wm-view-page-messenger) .empty-chat__icon svg{width:40px;height:40px;}
    body.wm-site:where(.wm-view-page-messenger) .empty-chat h2{font-size:21px;}
    body.wm-site:where(.wm-view-page-messenger) .empty-chat p{font-size:12px;line-height:1.5;}
    body.wm-site:where(.wm-view-page-messenger) .empty-chat__features{display:none;}
    body.wm-site:where(.wm-view-page-messenger) .message-input-container{min-height:68px;padding:8px 10px;}
}
/* ========== КОНЕЦ: обновлённый интерфейс мессенджера ========== */

/* ========== НАЧАЛО: сердечки при наведении на карточку анкеты ========== */
body.wm-site .anketa-card{
    position: relative;
    isolation: isolate;
}

body.wm-site .wm-card-hearts{
    position: absolute;
    inset: 0;
    z-index: 40;
    overflow: hidden;
    border-radius: inherit;
    pointer-events: none;
}

body.wm-site .wm-card-heart{
    --heart-color: #ef6b84;
    position: absolute;
    top: 43%;
    left: 50%;
    color: var(--heart-color);
    font-size: var(--heart-size,14px);
    line-height: 1;
    opacity: 0;
    text-shadow: 0 3px 12px rgba(196,69,92,.55),0 0 3px rgba(255,255,255,.45);
    animation: wm-card-heart-fall var(--heart-duration,1200ms) cubic-bezier(.18,.72,.34,1) var(--heart-delay,0ms) forwards;
    will-change: transform,opacity;
}

body.wm-site .wm-card-heart:nth-child(3n){--heart-color:#ffd5de;}
body.wm-site .wm-card-heart:nth-child(3n + 1){--heart-color:#c4455c;}

@keyframes wm-card-heart-fall{
    0%{opacity:0;transform:translate3d(var(--heart-start-x,0),-45px,0) rotate(var(--heart-rotate-start,-12deg)) scale(.45);}
    17%{opacity:.96;}
    72%{opacity:.82;}
    100%{opacity:0;transform:translate3d(var(--heart-end-x,0),135px,0) rotate(var(--heart-rotate-end,22deg)) scale(1.12);}
}

@media (prefers-reduced-motion:reduce),(hover:none),(pointer:coarse){
    body.wm-site .wm-card-hearts{display:none!important;}
}
/* ========== КОНЕЦ: сердечки при наведении на карточку анкеты ========== */

/* ========== НАЧАЛО: код подтверждения и пароли авторизации ========== */
body.wm-site:where(.wm-view-page-register) .wm-auth-code-shell{
    position: relative;
    padding: 20px 16px 16px;
    border: 1px solid rgba(196,69,92,.3);
    border-radius: 20px;
    background:
        radial-gradient(circle at top right,rgba(196,69,92,.17),transparent 150px),
        rgba(0,0,0,.2);
}

body.wm-site:where(.wm-view-page-register) .wm-auth-code-icon{
    width: 42px;
    height: 42px;
    margin: -2px auto 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(196,69,92,.45);
    border-radius: 13px;
    color: #fff;
    background: linear-gradient(135deg,#c4455c,#9f3246);
    box-shadow: 0 9px 24px rgba(196,69,92,.22);
}

body.wm-site:where(.wm-view-page-register) .wm-auth-code-icon svg{
    width: 23px;
    height: 23px;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

body.wm-site:where(.wm-view-page-register) .wm-auth-code-inputs{
    display: grid;
    grid-template-columns: repeat(6,minmax(0,1fr));
    gap: 8px;
}

body.wm-site:where(.wm-view-page-register) .wm-auth-code-input{
    width: 100%;
    min-width: 0;
    height: 58px;
    padding: 0;
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 13px;
    outline: 0;
    color: #fff;
    background: rgba(0,0,0,.28);
    font-family: inherit;
    font-size: 24px;
    line-height: 1;
    font-weight: 850;
    text-align: center;
    caret-color: #d75970;
    transition: border-color .18s ease,background .18s ease,box-shadow .18s ease;
}

body.wm-site:where(.wm-view-page-register) .wm-auth-code-input:focus{
    border-color: rgba(215,89,112,.88);
    background: rgba(196,69,92,.11);
    box-shadow: 0 0 0 3px rgba(196,69,92,.11);
}

body.wm-site:where(.wm-view-page-register) .password-wrapper{
    position: relative;
}

body.wm-site:where(.wm-view-page-register) .form-input.password-input{
    padding-right: 52px;
}

body.wm-site:where(.wm-view-page-register) .toggle-password{
    position: absolute;
    top: 50%;
    right: 10px;
    width: 34px;
    height: 34px;
    margin-top: -17px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 50%;
    color: rgba(255,255,255,.7);
    background: rgba(255,255,255,.055);
    cursor: pointer;
}

body.wm-site:where(.wm-view-page-register) .toggle-password:hover{
    color: #fff;
    background: rgba(196,69,92,.16);
}

body.wm-site:where(.wm-view-page-register) .toggle-password svg,
body.wm-site:where(.wm-view-page-login) .toggle-password svg{
    display: block;
    width: 21px;
    height: 21px;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

@media (max-width:480px){
    body.wm-site:where(.wm-view-page-register) .wm-auth-code-shell{padding:16px 10px 12px;border-radius:16px;}
    body.wm-site:where(.wm-view-page-register) .wm-auth-code-inputs{gap:5px;}
    body.wm-site:where(.wm-view-page-register) .wm-auth-code-input{height:49px;border-radius:10px;font-size:20px;}
}
/* ========== КОНЕЦ: код подтверждения и пароли авторизации ========== */

/* ========== НАЧАЛО: единый вид карточек анкет ========== */
/* Заголовок: имя и галочка стоят вместе, избранное всегда прижато вправо. */
body.wm-site .anketa-card .head{
    width:100%;
    min-width:0;
    display:flex;
    align-items:center;
    justify-content:flex-start;
    gap:9px;
}

body.wm-site .anketa-card .head .name{
    flex:0 1 auto;
    min-width:0;
}

body.wm-site .anketa-card .head .fav{
    flex:0 0 34px;
    margin-left:auto;
}

/* Компактная зелёная отметка подтверждённой анкеты. */
body.wm-site .wm-card-verified-badge{
    width:25px;
    height:25px;
    flex:0 0 25px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    border:2px solid rgba(255,255,255,.94);
    border-radius:50%;
    color:#fff;
    background:linear-gradient(145deg,#32d66f,#17a84f);
    box-shadow:0 0 0 4px rgba(34,197,94,.13),0 7px 16px rgba(18,148,67,.3);
}

body.wm-site .wm-card-verified-badge svg{
    width:18px;
    height:18px;
    display:block;
}

body.wm-site .wm-card-verified-badge path{
    fill:none;
    stroke:currentColor;
    stroke-width:2.7;
    stroke-linecap:round;
    stroke-linejoin:round;
}

/* Фото занимает всю ширину, характеристики идут одной строкой под ним. */
body.wm-site .anketa-card .top{
    width:100%;
    min-width:0;
    display:flex;
    flex-direction:column;
    align-items:stretch;
    gap:11px;
    margin-bottom:12px;
}

body.wm-site .anketa-card .media{
    width:100%;
    height:auto;
    aspect-ratio:4 / 5;
}

body.wm-site .anketa-card .stats{
    width:100%;
    display:grid;
    grid-template-columns:repeat(4,minmax(0,1fr));
    gap:8px;
    margin:0;
}

body.wm-site .anketa-card .stat{
    min-width:0;
    padding:9px 5px;
    border-radius:12px;
}

body.wm-site .anketa-card .stat .k{
    margin-bottom:6px;
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
}

/* На фото остаются только содержательные метки: видео, инди и карта. */
body.wm-site .anketa-card .anketa-icons{
    top:62px;
    right:22px;
}

body.wm-site .anketa-card .anketa-icons:empty{
    display:none;
}

/* Метка «Новая» не перекрывает перенесённую вправо кнопку избранного. */
body.wm-site .anketa-card .new-badge{
    top:62px;
    right:auto;
    left:22px;
}

/* Метка ТОП лежит поверх фотографии и не создаёт пустую строку над именем. */
body.wm-site .wm-top-slider .top-card{
    padding-top:16px;
}

body.wm-site .wm-top-slider .top-card::before{
    top:70px;
    left:25px;
}

body.wm-site .wm-top-slider .top-card .anketa-icons{
    top:70px;
}

/* Старую текстовую плашку скрываем для совместимости с кешированной разметкой. */
body.wm-site .wm-top-slider .wm-top-verified-label{
    display:none!important;
}

/* Слайдер рекомендаций использует ту же карточку без отдельных исключений. */
body.wm-site:where(.wm-view-single-wm_anketa) .similar-swiper .anketa-card .media{
    width:100%;
    height:auto;
    aspect-ratio:4 / 5;
}

body.wm-site:where(.wm-view-single-wm_anketa) .similar-swiper .anketa-card .stats{
    width:100%;
    display:grid;
    grid-template-columns:repeat(4,minmax(0,1fr));
}

@media (max-width:520px){
    body.wm-site .anketa-card .stats{
        gap:6px;
    }

    body.wm-site .anketa-card .stat{
        padding:8px 3px;
    }

    body.wm-site .anketa-card .stat .k{
        font-size:10px;
    }

    body.wm-site .wm-card-verified-badge{
        width:28px;
        height:28px;
        flex-basis:28px;
    }
}
/* ========== КОНЕЦ: единый вид карточек анкет ========== */

/* ========== НАЧАЛО: уточнения ТОП-слайдера и детальной анкеты ========== */
/* Галочка показывается только на первой фотографии подтверждённой анкеты. */
body.wm-site:where(.wm-view-single-wm_anketa) .wm-single-gallery-verified{
    position:absolute;
    top:14px;
    left:14px;
    z-index:6;
    display:inline-flex;
    pointer-events:none;
}

body.wm-site:where(.wm-view-single-wm_anketa) .wm-single-gallery-verified .wm-card-verified-badge{
    width:36px;
    height:36px;
    flex-basis:36px;
    box-shadow:0 0 0 5px rgba(34,197,94,.14),0 8px 20px rgba(18,148,67,.38);
}

/* Текстовая кнопка избранного в шапке детальной анкеты. */
body.wm-site:where(.wm-view-single-wm_anketa) .anketa-title-row{
    display:flex;
    align-items:center;
    flex-wrap:wrap;
    gap:10px;
    width:100%;
}

body.wm-site:where(.wm-view-single-wm_anketa) .anketa-right-header-top > div:first-child{
    width:100%;
    min-width:0;
}

body.wm-site:where(.wm-view-single-wm_anketa) .anketa-fav-btn{
    width:130px;
    min-width:130px;
    margin-left:auto;
    height:40px;
    padding:0 13px;
    gap:8px;
    color:#fff;
    font-family:inherit;
    font-size:12px;
    line-height:1;
    font-weight:850;
    white-space:nowrap;
    overflow:hidden;
    transition:width .3s ease,min-width .3s ease,padding .3s ease,background .18s ease,border-color .18s ease,box-shadow .18s ease;
}

body.wm-site:where(.wm-view-single-wm_anketa) .anketa-fav-btn svg{
    flex:0 0 18px;
}

body.wm-site:where(.wm-view-single-wm_anketa) .anketa-fav-label--default{
    display:inline-block;
    max-width:80px;
    overflow:hidden;
    opacity:1;
    transition:max-width .28s ease,opacity .18s ease,transform .28s ease;
}

body.wm-site:where(.wm-view-single-wm_anketa) .anketa-fav-btn.active{
    width:40px;
    min-width:40px;
    padding:0;
    gap:0;
    border-color:rgba(34,197,94,.68);
    background:linear-gradient(135deg,rgba(34,197,94,.26),rgba(22,163,74,.16));
    box-shadow:0 0 0 3px rgba(34,197,94,.09);
}

body.wm-site:where(.wm-view-single-wm_anketa) .anketa-fav-btn.active svg{
    fill:#31cf6a;
    stroke:#31cf6a;
}

body.wm-site:where(.wm-view-single-wm_anketa) .anketa-fav-btn.active .anketa-fav-label--default{
    max-width:0;
    opacity:0;
    transform:translateX(8px);
}

body.wm-site:where(.wm-view-single-wm_anketa) .anketa-fav-btn.pulse{
    animation:wm-favorite-detail-confirm .5s ease;
}

@keyframes wm-favorite-detail-confirm{
    0%{box-shadow:0 0 0 0 rgba(34,197,94,0);}
    50%{box-shadow:0 0 0 7px rgba(34,197,94,.13);}
    100%{box-shadow:0 0 0 3px rgba(34,197,94,.09);}
}

@keyframes wm-favorite-confirm{
    0%{transform:scale(1);}
    42%{transform:scale(1.08);box-shadow:0 0 0 8px rgba(34,197,94,.12);}
    100%{transform:scale(1);}
}

/* На телефоне четыре тарифа образуют понятную сетку 2 на 2. */
@media (max-width:768px){
    body.wm-site .anketa-card .prices{
        grid-template-columns:repeat(2,minmax(0,1fr));
        gap:9px 14px;
    }

    body.wm-site .anketa-card .price{
        min-width:0;
    }

    body.wm-site .similar-swiper .wm-similar-prev,
    body.wm-site .similar-swiper .wm-similar-next{
        display:flex!important;
        width:42px;
        height:42px;
        z-index:30;
    }

    body.wm-site .similar-swiper .wm-similar-prev{
        left:4px;
    }

    body.wm-site .similar-swiper .wm-similar-next{
        right:4px;
    }
}
/* ========== КОНЕЦ: уточнения ТОП-слайдера и детальной анкеты ========== */

/* ========== НАЧАЛО: понятное избранное и статус личного кабинета ========== */
/* Во всех публичных карточках текст стоит слева от сердца и плавно исчезает после выбора. */
body.wm-site .anketa-card .head .fav{
    width:120px;
    height:34px;
    min-width:120px;
    flex:0 0 96px;
    display:flex;
    align-items:center;
    justify-content:center;
    gap:7px;
    padding:0 9px;
    overflow:hidden;
    color:#fff;
    transition:width .3s ease,min-width .3s ease,flex-basis .3s ease,padding .3s ease,gap .3s ease,border-color .2s ease,background .2s ease,box-shadow .2s ease;
}

body.wm-site .anketa-card .head .fav::before{
    content:"Избранное";
    display:inline-block;
    max-width:80px;
    overflow:hidden;
    opacity:1;
    color:rgba(255,255,255,.88);
    font-size:12px;
    line-height:1;
    font-weight:800;
    white-space:nowrap;
    transition:max-width .28s ease,opacity .18s ease,transform .28s ease;
}

body.wm-site .anketa-card .head .fav svg{
    flex:0 0 18px;
}

body.wm-site .anketa-card .head .fav.active{
    width:34px;
    min-width:34px;
    flex-basis:34px;
    padding:0;
    gap:0;
    border-color:rgba(34,197,94,.72);
    background:rgba(34,197,94,.14);
    box-shadow:0 0 0 3px rgba(34,197,94,.1);
}

body.wm-site .anketa-card .head .fav.active::before{
    max-width:0;
    opacity:0;
    transform:translateX(8px);
}

body.wm-site .anketa-card .head .fav.active svg{
    fill:#31cf6a!important;
    stroke:#31cf6a!important;
}

body.wm-site .anketa-card .head .fav.pulse{
    animation:wm-favorite-confirm .58s cubic-bezier(.2,.82,.28,1);
}

/* Явная подпись подтверждения возле статуса анкеты владельца. */
body.wm-site:where(.wm-view-index) .account-anketa-verified{
    min-height:25px;
    margin:6px 0 12px 6px;
    padding:5px 9px 5px 6px;
    display:inline-flex;
    align-items:center;
    gap:6px;
    vertical-align:top;
    border:1px solid rgba(34,197,94,.38);
    border-radius:999px;
    color:#a7f3c0;
    background:rgba(34,197,94,.14);
    font-size:11px;
    line-height:1;
    font-weight:850;
}

body.wm-site:where(.wm-view-index) .account-anketa-verified svg{
    width:17px;
    height:17px;
    flex:0 0 17px;
    padding:3px;
    border-radius:50%;
    background:#22b95b;
}

body.wm-site:where(.wm-view-index) .account-anketa-verified path{
    fill:none;
    stroke:#fff;
    stroke-width:2.7;
    stroke-linecap:round;
    stroke-linejoin:round;
}

@media (max-width:520px){
    body.wm-site .anketa-card .head .fav{
        width:120px;
        min-width:120px;
        flex-basis:95px;
    }

    body.wm-site .anketa-card .head .fav.active{
        width:34px;
        min-width:34px;
        flex-basis:34px;
    }
}

@media (max-width:768px){
    body.wm-site:where(.wm-view-single-wm_anketa) .anketa-right-header-top > div:first-child{
        width:100%;
        min-width:0;
    }

    body.wm-site:where(.wm-view-single-wm_anketa) .anketa-title-row{
        width:100%;
        flex-wrap:nowrap;
        justify-content:space-between;
    }

    body.wm-site:where(.wm-view-single-wm_anketa) .anketa-title-row .anketa-single-title{
        min-width:0;
    }
}
/* ========== КОНЕЦ: понятное избранное и статус личного кабинета ========== */
