/* CRAZE-X Profile Background 1.0.2 — full top hero including header */
body.profile-page.craze-profile-full-bg{
  --craze-profile-top-height: 860px;
  position:relative;
  background:#f5f7fb;
}

/* Image layer starts at the very top of the page, behind the menu/header */
body.profile-page.craze-profile-full-bg:before{
  content:"";
  position:absolute;
  z-index:0;
  top:0;
  left:0;
  right:0;
  height:var(--craze-profile-top-height);
  background-image:
    linear-gradient(
      rgba(0,0,0,var(--craze-profile-overlay-opacity)),
      rgba(0,0,0,var(--craze-profile-overlay-opacity))
    ),
    var(--craze-profile-bg);
  background-position:center top, var(--craze-profile-position) top;
  background-repeat:no-repeat;
  background-size:100% 100%, var(--craze-profile-size);
  pointer-events:none;
}
/* Header/menu sits directly on the image */
body.profile-page.craze-profile-full-bg .header-wow,
body.profile-page.craze-profile-full-bg .header-wow-mobile,
body.profile-page.craze-profile-full-bg .header-wow-sticky,
body.profile-page.craze-profile-full-bg .header-wow-sticky-container,
body.profile-page.craze-profile-full-bg .header-wow-mobile-sticky,
body.profile-page.craze-profile-full-bg .header-wow-mobile-top{
  background:transparent !important;
  box-shadow:none !important;
  border-color:transparent !important;
}

/* Header controls readable over the photo */
body.profile-page.craze-profile-full-bg .header-wow-mobile,
body.profile-page.craze-profile-full-bg .header-wow-mobile a,
body.profile-page.craze-profile-full-bg .header-wow-mobile svg,
body.profile-page.craze-profile-full-bg .header-wow-sticky,
body.profile-page.craze-profile-full-bg .header-wow-sticky a{
  color:#fff;
}

/* Profile hero is transparent so the selected image continues behind it */
body.profile-page.craze-profile-full-bg .profile-page-shell{
  position:relative;
  z-index:1;
  background:transparent !important;
  box-shadow:none;
}

/* Existing decorative sky must not cover the admin-selected background */
body.profile-page.craze-profile-full-bg .profile-kg-sky{
  display:none !important;
}

/* Keep the lower listings area clean */
body.profile-page.craze-profile-full-bg .profile-page-shell .user-sidebar,
body.profile-page.craze-profile-full-bg .profile-page-shell .min-height-600{
  position:relative;
  z-index:2;
}

/* Desktop */
@media(min-width:992px){
  body.profile-page.craze-profile-full-bg{
    --craze-profile-top-height: 760px;
  }
}

/* Mobile: image extends through the complete top profile hero */
@media(max-width:991px){
  body.profile-page.craze-profile-full-bg{
    --craze-profile-top-height: 820px;
  }
  body.profile-page.craze-profile-full-bg .header-wow-mobile.height55{
    margin-bottom:0 !important;
  }
}

/* If the page content is taller, the image never affects the lower white area */
body.profile-page.craze-profile-full-bg .profile-page-shell > .row{
  position:relative;
  z-index:2;
}





/* 1.0.2 — ONLY a straight soft gradient at the bottom of the photo.
   No curve, no movement of the image. */
body.profile-page.craze-profile-full-bg .profile-page-shell::before{
  content:"";
  position:absolute;
  left:0;
  right:0;
  top:calc(var(--craze-profile-top-height) - 210px);
  height:210px;
  z-index:3;
  pointer-events:none;
  background:linear-gradient(
    to bottom,
    rgba(245,247,251,0) 0%,
    rgba(245,247,251,.04) 18%,
    rgba(245,247,251,.14) 38%,
    rgba(245,247,251,.35) 58%,
    rgba(245,247,251,.68) 78%,
    #f5f7fb 100%
  );
}
body.profile-page.craze-profile-full-bg .profile-page-shell > *{
  position:relative;
  z-index:4;
}




/* =========================================================
   CRAZE-X Profile Background 1.0.2 — PROFILE CARD DESIGN
   Только мобильный профиль.
   Стиль: фото сверху + белая округлая карточка + аватар
   поверх границы + зелёная кнопка + рейтинг.
   ========================================================= */

@media (max-width: 991px) {

    body.profile-page.craze-profile-full-bg {
        position: relative !important;
        background: #f5f7fb !important;
    }

    /* Большое фото профиля до начала белой карточки */
    body.profile-page.craze-profile-full-bg::before {
        content: "" !important;
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;

        height: 650px !important;
        z-index: 0 !important;
        pointer-events: none !important;

        background:
            linear-gradient(
                to bottom,
                rgba(0,0,0,.02) 0%,
                rgba(0,0,0,.02) 65%,
                rgba(0,0,0,.08) 100%
            ),
            var(--craze-profile-bg) !important;

        background-position:
            center top,
            var(--craze-profile-position,center) top !important;

        background-repeat: no-repeat !important;

        background-size:
            100% 100%,
            var(--craze-profile-size,cover) !important;
    }

    /* Мобильная шапка только на профиле */
    body.profile-page.craze-profile-full-bg .header-wow-mobile,
    body.profile-page.craze-profile-full-bg .header-wow-mobile-sticky,
    body.profile-page.craze-profile-full-bg .header-wow-mobile-top {
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;

        z-index: 100 !important;

        background: transparent !important;
        background-color: transparent !important;
        border-color: transparent !important;
        box-shadow: none !important;
    }

    /* Только элементы шапки профиля */
    body.profile-page.craze-profile-full-bg .header-wow-mobile a,
    body.profile-page.craze-profile-full-bg .header-wow-mobile i,
    body.profile-page.craze-profile-full-bg .header-wow-mobile svg {
        color: #fff !important;
    }

    body.profile-page.craze-profile-full-bg .header-wow-mobile svg {
        fill: currentColor !important;
    }

    /* Хлебные крошки на профиле — поверх фото */
    body.profile-page.craze-profile-full-bg ol.breadcrumb {
        position: relative !important;
        z-index: 80 !important;

        margin: 105px auto 0 !important;
        padding: 0 18px !important;

        color: #fff !important;
        text-align: center !important;
    }

    body.profile-page.craze-profile-full-bg ol.breadcrumb a,
    body.profile-page.craze-profile-full-bg ol.breadcrumb span {
        color: #fff !important;
        text-shadow: 0 2px 5px rgba(0,0,0,.45) !important;
    }

    /* Сам профиль превращаем в белую округлую карточку */
    body.profile-page.craze-profile-full-bg
    .user-avatar.profile-card-kg {

        position: relative !important;
        z-index: 30 !important;

        width: calc(100% - 28px) !important;
        max-width: 960px !important;

        margin: 335px auto 28px !important;

        padding:
            82px 18px 30px !important;

        text-align: center !important;

        background: #fff !important;

        border: 0 !important;

        border-radius:
            38px !important;

        box-shadow:
            0 12px 38px rgba(25,55,95,.15) !important;

        overflow: visible !important;
    }

    /* Тонкая голубая подсветка по верхнему краю */
    body.profile-page.craze-profile-full-bg
    .user-avatar.profile-card-kg::before {

        content: "" !important;

        position: absolute !important;

        top: 0 !important;
        left: 7% !important;
        right: 7% !important;

        height: 5px !important;

        background:
            linear-gradient(
                90deg,
                #1597e5,
                #1db7f2,
                #1597e5
            ) !important;

        border-radius: 0 0 10px 10px !important;

        opacity: .85 !important;
    }

    /* Аватар поверх верхнего края карточки */
    body.profile-page.craze-profile-full-bg
    .user-avatar-img {

        position: absolute !important;

        z-index: 50 !important;

        top: -105px !important;
        left: 50% !important;

        transform: translateX(-50%) !important;

        width: 150px !important;
        height: 150px !important;

        margin: 0 !important;
        padding: 6px !important;

        background: #fff !important;

        border: 2px solid #fff !important;

        border-radius: 50% !important;

        box-shadow:
            0 8px 26px rgba(0,0,0,.24),
            0 0 0 4px rgba(255,255,255,.55) !important;

        overflow: hidden !important;
    }

    body.profile-page.craze-profile-full-bg
    .user-avatar-img img {

        display: block !important;

        width: 100% !important;
        height: 100% !important;

        object-fit: cover !important;

        border-radius: 50% !important;
    }

    /* Кнопка смены аватара */
    body.profile-page.craze-profile-full-bg
    .user-avatar-replace {

        position: absolute !important;

        right: 3px !important;
        bottom: 4px !important;

        width: 32px !important;
        height: 32px !important;

        display: flex !important;
        align-items: center !important;
        justify-content: center !important;

        background: #168fe0 !important;
        color: #fff !important;

        border: 3px solid #fff !important;
        border-radius: 50% !important;

        box-shadow: 0 4px 12px rgba(0,0,0,.22) !important;

        z-index: 60 !important;
    }

    /* Имя */
    body.profile-page.craze-profile-full-bg
    .user-avatar.profile-card-kg > h4 {

        position: relative !important;
        z-index: 10 !important;

        margin: 4px 0 14px !important;
        padding: 0 !important;

        color: #07508d !important;

        background: transparent !important;
        border: 0 !important;

        font-size: 34px !important;
        line-height: 40px !important;
        font-weight: 800 !important;

        letter-spacing: -.5px !important;

        text-shadow: none !important;
    }

    /* Кнопка "Подтвердить профиль" */
    body.profile-page.craze-profile-full-bg
    .user-card-verification-box {

        position: relative !important;
        z-index: 10 !important;

        display: inline-flex !important;

        flex-direction: column !important;
        align-items: center !important;

        width: auto !important;
        min-width: 250px !important;

        margin: 0 auto 20px !important;
        padding: 13px 25px !important;

        background:
            linear-gradient(
                135deg,
                #18c77a,
                #12b86c
            ) !important;

        border: 0 !important;
        border-radius: 32px !important;

        box-shadow:
            0 7px 18px rgba(18,184,108,.25) !important;
    }

    body.profile-page.craze-profile-full-bg
    .verification-title {

        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 9px !important;

        color: #fff !important;

        font-size: 18px !important;
        line-height: 24px !important;
        font-weight: 700 !important;

        text-shadow: none !important;
    }

    body.profile-page.craze-profile-full-bg
    .verification-badge {

        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;

        width: 25px !important;
        height: 25px !important;

        background: transparent !important;

        color: #fff !important;

        border: 2px solid rgba(255,255,255,.95) !important;
        border-radius: 50% !important;

        font-size: 15px !important;

        box-shadow: none !important;
    }

    /* Скрываем маленькие проверки внутри кнопки,
       чтобы карточка была как на примере */
    body.profile-page.craze-profile-full-bg
    .verification-items {
        display: none !important;
    }

    /* Дата */
    body.profile-page.craze-profile-full-bg
    .profile-meta-kg {

        position: relative !important;
        z-index: 10 !important;

        display: block !important;

        margin: 0 0 9px !important;

        color: #178dcc !important;

        font-size: 19px !important;
        line-height: 28px !important;
        font-weight: 700 !important;

        text-align: center !important;
    }

    /* Голубая иконка перед датой */
    body.profile-page.craze-profile-full-bg
    .profile-meta-kg::before {

        content: "⌖" !important;

        display: inline-block !important;

        margin-right: 7px !important;

        color: #1498dc !important;

        font-size: 25px !important;
        font-weight: 700 !important;

        vertical-align: -2px !important;
    }

    /* Рейтинг */
    body.profile-page.craze-profile-full-bg
    .board-view-stars {

        position: relative !important;
        z-index: 10 !important;

        display: flex !important;

        align-items: center !important;
        justify-content: center !important;

        gap: 4px !important;

        margin: 0 !important;
    }

    body.profile-page.craze-profile-full-bg
    .board-view-stars span {

        color: #f5bd12 !important;

        font-size: 30px !important;
        line-height: 34px !important;

        text-shadow: none !important;
    }

    body.profile-page.craze-profile-full-bg
    .board-view-stars a {

        margin-left: 8px !important;

        color: #59616b !important;

        font-size: 18px !important;
        font-weight: 500 !important;

        text-decoration: none !important;

        text-shadow: none !important;
    }

    /* Фон страницы после карточки */
    body.profile-page.craze-profile-full-bg
    .profile-card-kg + * {
        position: relative !important;
        z-index: 5 !important;
    }

}

/* На очень маленьких экранах немного уменьшаем */
@media (max-width: 390px) {

    body.profile-page.craze-profile-full-bg
    .user-avatar.profile-card-kg {
        margin-top: 310px !important;
        padding-top: 76px !important;
    }

    body.profile-page.craze-profile-full-bg
    .user-avatar-img {
        width: 132px !important;
        height: 132px !important;
        top: -92px !important;
    }

    body.profile-page.craze-profile-full-bg
    .user-avatar.profile-card-kg > h4 {
        font-size: 30px !important;
    }

    body.profile-page.craze-profile-full-bg
    .user-card-verification-box {
        min-width: 225px !important;
    }
}

/* FINAL PROFILE CARD OVERRIDE */
@media (max-width:991px){

body.profile-page.craze-profile-full-bg{background:#f5f7fb!important}

body.profile-page.craze-profile-full-bg::before{
height:735px!important;
background:
linear-gradient(to bottom,rgba(0,0,0,0) 0%,rgba(0,0,0,0) 82%,rgba(245,247,251,.08) 100%),
var(--craze-profile-bg)!important;
background-position:center top,var(--craze-profile-position,center) top!important;
background-repeat:no-repeat!important;
background-size:100% 100%,var(--craze-profile-size,cover)!important
}

body.profile-page.craze-profile-full-bg .user-avatar.profile-card-kg{
width:calc(100% - 32px)!important;
max-width:430px!important;
margin:330px auto 30px!important;
padding:86px 18px 30px!important;
background:#fff!important;
border:1px solid rgba(25,72,120,.05)!important;
border-radius:34px!important;
box-shadow:0 10px 30px rgba(24,64,105,.14)!important;
overflow:visible!important
}

body.profile-page.craze-profile-full-bg .user-avatar.profile-card-kg::before{
content:""!important;
position:absolute!important;
top:0!important;
left:10%!important;
right:10%!important;
height:4px!important;
background:linear-gradient(90deg,#168fe0,#1bb7e9,#168fe0)!important;
border-radius:0 0 8px 8px!important;
opacity:.75!important
}

body.profile-page.craze-profile-full-bg .user-avatar-img{
top:-112px!important;
width:158px!important;
height:158px!important;
padding:6px!important;
background:#fff!important;
border:2px solid #fff!important;
border-radius:50%!important;
box-shadow:0 8px 28px rgba(0,0,0,.22),0 0 0 5px rgba(255,255,255,.55)!important;
overflow:hidden!important
}

body.profile-page.craze-profile-full-bg .user-avatar-img img{
width:100%!important;height:100%!important;
object-fit:cover!important;border-radius:50%!important
}

body.profile-page.craze-profile-full-bg .user-avatar.profile-card-kg>h4{
margin:0 0 14px!important;
color:#07508d!important;
font-size:34px!important;
line-height:40px!important;
font-weight:800!important;
text-shadow:none!important
}

body.profile-page.craze-profile-full-bg .user-card-verification-box{
display:inline-flex!important;
align-items:center!important;
justify-content:center!important;
min-width:0!important;
width:auto!important;
margin:0 auto 20px!important;
padding:13px 25px!important;
background:linear-gradient(135deg,#1ac77a,#12b86c)!important;
border:0!important;
border-radius:30px!important;
box-shadow:0 7px 18px rgba(18,184,108,.24)!important
}

body.profile-page.craze-profile-full-bg .verification-title{
color:#fff!important;font-size:18px!important;font-weight:700!important;white-space:nowrap!important
}

body.profile-page.craze-profile-full-bg .verification-badge{
width:25px!important;height:25px!important;
background:transparent!important;border:2px solid #fff!important;color:#fff!important
}

body.profile-page.craze-profile-full-bg .verification-items{display:none!important}

body.profile-page.craze-profile-full-bg .profile-meta-kg{
margin:0 0 7px!important;color:#168dcc!important;
font-size:18px!important;line-height:28px!important;font-weight:700!important
}

body.profile-page.craze-profile-full-bg .profile-meta-kg::before{content:none!important}

body.profile-page.craze-profile-full-bg .board-view-stars{
margin:0!important;gap:3px!important
}

body.profile-page.craze-profile-full-bg .board-view-stars span{
color:#efbd18!important;font-size:29px!important;line-height:34px!important
}

body.profile-page.craze-profile-full-bg .board-view-stars a{
margin-left:8px!important;color:#59616b!important;font-size:17px!important;font-weight:500!important
}

@media(max-width:390px){
body.profile-page.craze-profile-full-bg .user-avatar.profile-card-kg{
margin-top:310px!important;padding-top:76px!important
}
body.profile-page.craze-profile-full-bg .user-avatar-img{
width:140px!important;height:140px!important;top:-99px!important
}
body.profile-page.craze-profile-full-bg .user-avatar.profile-card-kg>h4{font-size:30px!important}
body.profile-page.craze-profile-full-bg .verification-title{font-size:16px!important}
}
}

/* FINAL VISUAL TUNING — REFERENCE */
@media (max-width:991px){
body.profile-page.craze-profile-full-bg::before{
height:720px!important;
}
body.profile-page.craze-profile-full-bg .user-avatar.profile-card-kg{
margin-top:285px!important;
padding-top:76px!important;
padding-bottom:26px!important;
border-radius:34px!important;
}
body.profile-page.craze-profile-full-bg .user-avatar-img{
top:-94px!important;
width:142px!important;
height:142px!important;
}
body.profile-page.craze-profile-full-bg .user-avatar.profile-card-kg>h4{
font-size:31px!important;
line-height:37px!important;
margin-bottom:12px!important;
}
body.profile-page.craze-profile-full-bg .user-card-verification-box{
margin-bottom:17px!important;
padding:11px 23px!important;
}
body.profile-page.craze-profile-full-bg .verification-title{
font-size:17px!important;
}
body.profile-page.craze-profile-full-bg .profile-meta-kg{
font-size:17px!important;
line-height:25px!important;
margin-bottom:5px!important;
}
body.profile-page.craze-profile-full-bg .board-view-stars span{
font-size:27px!important;
line-height:31px!important;
}
body.profile-page.craze-profile-full-bg .board-view-stars a{
font-size:16px!important;
}
@media(max-width:390px){
body.profile-page.craze-profile-full-bg .user-avatar.profile-card-kg{
margin-top:270px!important;
padding-top:68px!important;
}
body.profile-page.craze-profile-full-bg .user-avatar-img{
top:-86px!important;
width:130px!important;
height:130px!important;
}
body.profile-page.craze-profile-full-bg .user-avatar.profile-card-kg>h4{
font-size:29px!important;
}
}
}

/* FINAL FIX 4 — remove top gap, lift card and avatar */
@media (max-width:991px){
  body.profile-page.craze-profile-full-bg,
  body.profile-page.craze-profile-full-bg .page,
  body.profile-page.craze-profile-full-bg .wrapper,
  body.profile-page.craze-profile-full-bg .content-wrapper{
      padding-top:0!important;
      margin-top:0!important;
  }
  body.profile-page.craze-profile-full-bg .header-wow-mobile,
  body.profile-page.craze-profile-full-bg .header-wow-mobile-sticky,
  body.profile-page.craze-profile-full-bg .header-wow-mobile-top{
      margin-top:0!important;
      padding-top:0!important;
  }
  body.profile-page.craze-profile-full-bg::before{
      top:0!important;
      height:700px!important;
  }
  body.profile-page.craze-profile-full-bg .user-avatar.profile-card-kg{
      margin-top:255px!important;
      padding-top:72px!important;
      padding-bottom:25px!important;
      border-radius:34px!important;
  }
  body.profile-page.craze-profile-full-bg .user-avatar-img{
      top:-103px!important;
      width:142px!important;
      height:142px!important;
  }
  @media(max-width:390px){
      body.profile-page.craze-profile-full-bg::before{height:670px!important;}
      body.profile-page.craze-profile-full-bg .user-avatar.profile-card-kg{
          margin-top:240px!important;
          padding-top:67px!important;
      }
      body.profile-page.craze-profile-full-bg .user-avatar-img{
          top:-94px!important;
          width:130px!important;
          height:130px!important;
      }
  }
}

/* =========================================================
   FIX 5 — photo must cover the header gap too
   ========================================================= */
@media (max-width:991px){

  /* Put the selected profile image on BODY as well.
     This guarantees that any transparent/flow header wrapper
     cannot reveal a white strip above the hero. */
  body.profile-page.craze-profile-full-bg{
      background-color:#f5f7fb!important;
      background-image:var(--craze-profile-bg)!important;
      background-repeat:no-repeat!important;
      background-position:center top!important;
      background-size:100% 700px!important;
  }

  /* Keep the main image layer aligned with body */
  body.profile-page.craze-profile-full-bg::before{
      top:0!important;
      height:700px!important;
      background:
        linear-gradient(
          to bottom,
          rgba(0,0,0,0) 0%,
          rgba(0,0,0,0) 82%,
          rgba(245,247,251,.08) 100%
        ),
        var(--craze-profile-bg)!important;
      background-position:center top,var(--craze-profile-position,center) top!important;
      background-repeat:no-repeat!important;
      background-size:100% 100%,var(--craze-profile-size,cover)!important;
  }

  /* Header wrappers cannot paint a white background over the image */
  body.profile-page.craze-profile-full-bg .header-wow,
  body.profile-page.craze-profile-full-bg .header-wow-mobile,
  body.profile-page.craze-profile-full-bg .header-wow-sticky,
  body.profile-page.craze-profile-full-bg .header-wow-sticky-container,
  body.profile-page.craze-profile-full-bg .header-wow-mobile-sticky,
  body.profile-page.craze-profile-full-bg .header-wow-mobile-top,
  body.profile-page.craze-profile-full-bg .header-wow-mobile.height55{
      background:transparent!important;
      background-color:transparent!important;
      box-shadow:none!important;
      border:0!important;
  }

  /* Card remains at the tuned position */
  body.profile-page.craze-profile-full-bg .user-avatar.profile-card-kg{
      margin-top:255px!important;
  }

  @media(max-width:390px){
      body.profile-page.craze-profile-full-bg{
          background-size:100% 670px!important;
      }
      body.profile-page.craze-profile-full-bg::before{
          height:670px!important;
      }
      body.profile-page.craze-profile-full-bg .user-avatar.profile-card-kg{
          margin-top:240px!important;
      }
  }
}

/* =========================================================
   FIX 6 — ONE IMAGE ONLY / REMOVE MOBILE HEADER WHITE BAND
   ========================================================= */
@media (max-width:991px){

  /* IMPORTANT: no second body background image */
  body.profile-page.craze-profile-full-bg{
      background-color:#f5f7fb!important;
      background-image:none!important;
  }

  /* Single hero image layer */
  body.profile-page.craze-profile-full-bg::before{
      content:""!important;
      position:absolute!important;
      top:0!important;
      left:0!important;
      right:0!important;
      height:700px!important;
      z-index:0!important;
      pointer-events:none!important;

      background:
        linear-gradient(
          to bottom,
          rgba(0,0,0,0) 0%,
          rgba(0,0,0,0) 82%,
          rgba(245,247,251,.08) 100%
        ),
        var(--craze-profile-bg)!important;

      background-position:center top,var(--craze-profile-position,center) top!important;
      background-repeat:no-repeat!important;
      background-size:100% 100%,var(--craze-profile-size,cover)!important;
  }

  /*
   * The white band is the mobile header/container itself.
   * Make every likely header wrapper transparent, but ONLY
   * on profile pages with the module class.
   */
  body.profile-page.craze-profile-full-bg header,
  body.profile-page.craze-profile-full-bg .header,
  body.profile-page.craze-profile-full-bg .header-wrapper,
  body.profile-page.craze-profile-full-bg .header-container,
  body.profile-page.craze-profile-full-bg .header-wow,
  body.profile-page.craze-profile-full-bg .header-wow-mobile,
  body.profile-page.craze-profile-full-bg .header-wow-mobile-top,
  body.profile-page.craze-profile-full-bg .header-wow-mobile-sticky,
  body.profile-page.craze-profile-full-bg .header-wow-sticky,
  body.profile-page.craze-profile-full-bg .header-wow-sticky-container{
      background:transparent!important;
      background-color:transparent!important;
      background-image:none!important;
      box-shadow:none!important;
      border-color:transparent!important;
  }

  /* Header remains above the photo */
  body.profile-page.craze-profile-full-bg header,
  body.profile-page.craze-profile-full-bg .header-wow-mobile,
  body.profile-page.craze-profile-full-bg .header-wow-mobile-sticky,
  body.profile-page.craze-profile-full-bg .header-wow-mobile-top{
      position:relative!important;
      z-index:20!important;
  }

  /* Card and avatar stay above hero */
  body.profile-page.craze-profile-full-bg .user-avatar.profile-card-kg{
      position:relative!important;
      z-index:30!important;
      margin-top:255px!important;
  }

  body.profile-page.craze-profile-full-bg .user-avatar-img{
      z-index:40!important;
  }

  @media(max-width:390px){
      body.profile-page.craze-profile-full-bg::before{
          height:670px!important;
      }
      body.profile-page.craze-profile-full-bg .user-avatar.profile-card-kg{
          margin-top:240px!important;
      }
  }
}


/* =========================================================
   FIX 7 — final mobile alignment from the reference
   Do not change desktop or the rest of the page.
   ========================================================= */
@media (max-width:991px){

  /* Raise the complete profile card onto the photo a little more */
  body.profile-page.craze-profile-full-bg .user-avatar.profile-card-kg{
      margin-top:225px!important;
      padding-top:76px!important;
  }

  /* Blue accent line follows the card width more naturally */
  body.profile-page.craze-profile-full-bg .user-avatar.profile-card-kg::before{
      left:5%!important;
      right:5%!important;
      height:5px!important;
      border-radius:999px!important;
  }

  /* Make the photo-change button fully visible */
  body.profile-page.craze-profile-full-bg .user-avatar-img{
      overflow:visible!important;
  }
  body.profile-page.craze-profile-full-bg .user-avatar-img img{
      display:block!important;
      overflow:hidden!important;
      clip-path:circle(50% at 50% 50%)!important;
  }
  body.profile-page.craze-profile-full-bg .user-avatar-replace{
      right:-5px!important;
      bottom:-5px!important;
      width:36px!important;
      height:36px!important;
      z-index:100!important;
  }

  @media(max-width:390px){
      body.profile-page.craze-profile-full-bg .user-avatar.profile-card-kg{
          margin-top:215px!important;
          padding-top:68px!important;
      }
      body.profile-page.craze-profile-full-bg .user-avatar-replace{
          right:-4px!important;
          bottom:-4px!important;
          width:34px!important;
          height:34px!important;
      }
  }
}

/* =========================================================
   FIX 8 — only requested changes
   1. Remove the blue line completely.
   2. Pull the following "Объявления" block upward.
   Do not change the profile card itself.
   ========================================================= */
@media (max-width:991px){

  body.profile-page.craze-profile-full-bg
  .user-avatar.profile-card-kg::before{
      display:none!important;
      content:none!important;
  }

  /* Pull the content immediately after the profile card upward.
     The card's own position/size remains unchanged. */
  body.profile-page.craze-profile-full-bg
  .user-avatar.profile-card-kg{
      margin-bottom:-25px!important;
  }

  @media(max-width:390px){
      body.profile-page.craze-profile-full-bg
      .user-avatar.profile-card-kg{
          margin-bottom:-25px!important;
      }
  }
}

/* FIX 9 — keep the photo exactly where it is; move ONLY the profile block upward */
@media (max-width:991px){

  body.profile-page.craze-profile-full-bg
  .user-avatar.profile-card-kg{
      margin-top:205px!important;
      margin-bottom:-25px!important;
  }

  @media(max-width:390px){
      body.profile-page.craze-profile-full-bg
      .user-avatar.profile-card-kg{
          margin-top:190px!important;
          margin-bottom:-25px!important;
      }
  }
}

/* FIX 10 — lift profile card a little more, keep photo fixed */
@media (max-width:991px){
  body.profile-page.craze-profile-full-bg
  .user-avatar.profile-card-kg{
      margin-top:185px!important;
      margin-bottom:-25px!important;
  }

  @media(max-width:390px){
      body.profile-page.craze-profile-full-bg
      .user-avatar.profile-card-kg{
          margin-top:170px!important;
          margin-bottom:-25px!important;
      }
  }
}

/* FIX 11 — keep profile card high, give announcements normal space below */
@media (max-width:991px){
  body.profile-page.craze-profile-full-bg
  .user-avatar.profile-card-kg{
      margin-top:185px!important;
      margin-bottom:35px!important;
  }

  @media(max-width:390px){
      body.profile-page.craze-profile-full-bg
      .user-avatar.profile-card-kg{
          margin-top:170px!important;
          margin-bottom:35px!important;
      }
  }
}

/* FIX 12 — repair verification button only.
   The original verification-title has its own white panel;
   make it transparent so the green button is one clean block. */
@media (max-width:991px){

  body.profile-page.craze-profile-full-bg
  .user-card-verification-box{
      display:flex!important;
      flex-direction:column!important;
      align-items:center!important;
      justify-content:center!important;
      width:calc(100% - 40px)!important;
      max-width:620px!important;
      min-width:0!important;
      min-height:58px!important;
      box-sizing:border-box!important;
      margin:0 auto 20px!important;
      padding:14px 24px!important;
      background:linear-gradient(135deg,#18c77a,#12b86c)!important;
      border:0!important;
      border-radius:32px!important;
      box-shadow:0 7px 18px rgba(18,184,108,.25)!important;
  }

  body.profile-page.craze-profile-full-bg
  .user-card-verification-box .verification-title{
      display:flex!important;
      width:auto!important;
      min-width:0!important;
      height:auto!important;
      min-height:0!important;
      margin:0!important;
      padding:0!important;
      background:transparent!important;
      border:0!important;
      border-radius:0!important;
      box-shadow:none!important;
      color:#fff!important;
      font-size:18px!important;
      line-height:24px!important;
      font-weight:700!important;
      text-align:center!important;
  }

  body.profile-page.craze-profile-full-bg
  .user-card-verification-box .verification-badge{
      flex:0 0 25px!important;
  }

  body.profile-page.craze-profile-full-bg
  .user-card-verification-box .verification-items{
      display:none!important;
      width:0!important;
      height:0!important;
      padding:0!important;
      margin:0!important;
  }

  @media(max-width:390px){
      body.profile-page.craze-profile-full-bg
      .user-card-verification-box{
          width:calc(100% - 24px)!important;
          padding-left:14px!important;
          padding-right:14px!important;
      }
  }
}
