/* v876 — stronger VK-like dark profile rebuild */
:root{
  --vkbg:#090b0f;
  --vksurface:#12151b;
  --vksurface2:#171b22;
  --vkline:#252b34;
  --vktext:#eef2f6;
  --vkmuted:#8d97a6;
  --vkblue:#4a8eff;
  --vkgreen:#37c978;
}

@media (min-width:761px){
  body.has-site-header[data-view="wall"] .ksan-shell,
  body.has-site-header[data-view="personal"] .ksan-shell{
    grid-template-columns:218px minmax(0,760px)!important;
    column-gap:34px!important;
    justify-content:center!important;
    padding:20px 24px 56px!important;
  }
  body[data-view="wall"] .ksan-main{width:760px!important;max-width:760px!important}
  body[data-view="wall"] #wall2010View{max-width:760px!important;margin-top:14px!important}

  body[data-view="wall"] #wall2010View .wall2010-grid{
    gap:14px!important;
  }

  /* Hero/profile */
  body[data-view="wall"] #wall2010View .wall2010-profile{
    position:relative!important;
    overflow:hidden!important;
    display:grid!important;
    grid-template-columns:132px minmax(0,1fr)!important;
    grid-template-areas:
      'avatar name'
      'avatar handle'
      'avatar presence'
      'avatar status'
      'edit edit'
      'friends friends'!important;
    align-items:start!important;
    gap:6px 18px!important;
    padding:182px 20px 14px!important;
    border:1px solid var(--vkline)!important;
    border-radius:22px!important;
    background:linear-gradient(180deg, rgba(9,11,15,.0) 0 165px, var(--vksurface) 165px 100%)!important;
    box-shadow:none!important;
  }
  body[data-view="wall"] #wall2010View .wall2010-profile::before{
    content:''!important;
    position:absolute!important;
    inset:0 0 auto 0!important;
    height:205px!important;
    background:linear-gradient(180deg,rgba(0,0,0,.10),rgba(0,0,0,.52)),url('../images/profile/wall/last-post.jpg') center 32%/cover no-repeat!important;
  }
  body[data-view="wall"] #wall2010View .wall2010-avatar{
    grid-area:avatar!important;
    position:relative!important;
    z-index:2!important;
    width:116px!important;
    height:116px!important;
    margin:0 0 0 4px!important;
    border-radius:50%!important;
    overflow:hidden!important;
    border:4px solid var(--vksurface)!important;
    box-shadow:0 0 0 1px rgba(255,255,255,.03)!important;
  }
  body[data-view="wall"] #wall2010View .wall2010-name{
    grid-area:name!important;
    position:relative!important;
    z-index:2!important;
    margin:4px 0 0!important;
    font:800 22px/1.08 Geist,system-ui,sans-serif!important;
    color:#fff!important;
  }
  body[data-view="wall"] #wall2010View .wall2010-handle{
    grid-area:handle!important;
    position:relative!important;
    z-index:2!important;
    margin:0!important;
    color:var(--vkmuted)!important;
    font:500 14px/1.2 Geist,system-ui,sans-serif!important;
  }
  body[data-view="wall"] #wall2010View .wall2010-presence{
    grid-area:presence!important;
    position:relative!important;
    z-index:2!important;
    margin:4px 0 0!important;
    color:var(--vkgreen)!important;
    font:650 14px/1.2 Geist,system-ui,sans-serif!important;
  }
  body[data-view="wall"] #wall2010View .wall2010-status{
    grid-area:status!important;
    position:relative!important;
    z-index:2!important;
    margin:2px 0 0!important;
    padding:0!important;
    border:0!important;
    background:transparent!important;
    color:var(--vkmuted)!important;
    justify-content:flex-start!important;
    gap:8px!important;
    min-height:auto!important;
  }
  body[data-view="wall"] #wall2010View .wall2010-status span{display:none!important}
  body[data-view="wall"] #wall2010View .wall2010-status b{
    font:500 13px/1.2 Geist,system-ui,sans-serif!important;
    color:var(--vkmuted)!important;
  }
  body[data-view="wall"] #wall2010View .wall2010-status b::before{content:'ⓘ Подробнее'!important}
  body[data-view="wall"] #wall2010View .wall2010-facts,
  body[data-view="wall"] #wall2010View .user-stats-trigger{display:none!important}

  body[data-view="wall"] #wall2010View .wall-profile-edit{
    grid-area:edit!important;
    position:relative!important;
    z-index:2!important;
    width:100%!important;
    height:40px!important;
    margin-top:10px!important;
    border:0!important;
    border-radius:12px!important;
    background:var(--vkblue)!important;
    color:#fff!important;
    font:700 14px/1 Geist,system-ui,sans-serif!important;
  }

  body[data-view="wall"] #wall2010View .vk-dark-friends{
    grid-area:friends!important;
    position:relative!important;
    z-index:2!important;
    min-height:52px!important;
    margin:8px 0 0!important;
    padding:10px 12px!important;
    border:1px solid #252c35!important;
    border-radius:14px!important;
    background:#161a20!important;
  }
  .vk-dark-friends__copy strong{font-size:14px!important}
  .vk-dark-friends__copy small{font-size:12px!important}

  /* Photos strip */
  body[data-view="wall"] #wall2010View .wall2010-sideblock:not(#connectionsBlock){
    margin:0!important;
    padding:14px!important;
    border:1px solid var(--vkline)!important;
    border-radius:18px!important;
    background:var(--vksurface)!important;
    box-shadow:none!important;
  }
  body[data-view="wall"] #wall2010View .wall2010-sideblock__head{
    padding:0 0 10px!important;
    font:700 15px/1.2 Geist,system-ui,sans-serif!important;
    color:#f1f4f8!important;
  }
  body[data-view="wall"] #wall2010View .wall2010-sideblock__head span{color:var(--vkmuted)!important}
  body[data-view="wall"] #wall2010View .wall2010-photos{gap:8px!important}
  body[data-view="wall"] #wall2010View .wall2010-photos img{height:78px!important;border-radius:12px!important}

  /* feed becomes one proper card */
  body[data-view="wall"] #wall2010View .wall2010-main{
    gap:0!important;
    background:var(--vksurface)!important;
    border:1px solid var(--vkline)!important;
    border-radius:20px!important;
    box-shadow:none!important;
    overflow:hidden!important;
  }
  body[data-view="wall"] #wall2010ComposerCard{
    border:0!important;
    border-radius:0!important;
    background:transparent!important;
    border-bottom:1px solid var(--vkline)!important;
  }
  body[data-view="wall"] .wall2010-composer-toggle{
    min-height:62px!important;
    padding:12px 14px!important;
    background:transparent!important;
  }
  body[data-view="wall"] .wall2010-composer-toggle span{
    background:#1c2128!important;
    color:#98a1af!important;
    border-radius:12px!important;
    min-height:44px!important;
  }
  body[data-view="wall"] .wall2010-composer-avatar{width:34px!important;height:34px!important}

  body[data-view="wall"] #wall2010View .vk-dark-tabs{
    border:0!important;
    border-radius:0!important;
    background:transparent!important;
    border-bottom:1px solid var(--vkline)!important;
    min-height:52px!important;
    padding:0 16px!important;
    gap:18px!important;
  }
  body[data-view="wall"] #wall2010View .vk-dark-tabs button{height:52px!important;font-size:13px!important}

  body[data-view="wall"] #wall2010Posts{
    padding:0!important;
    background:transparent!important;
    border:0!important;
    gap:0!important;
  }
  body[data-view="wall"] #wall2010Posts .wall2010-post{
    border:0!important;
    border-top:1px solid var(--vkline)!important;
    border-radius:0!important;
    background:transparent!important;
    padding:18px 18px 16px!important;
  }
  body[data-view="wall"] #wall2010Posts .wall2010-post:first-child{border-top:0!important}
  body[data-view="wall"] .wall2010-post .wall2010-text{font-size:15px!important;line-height:1.45!important;color:#e8edf3!important}
  body[data-view="wall"] .wall2010-post .wall2010-author{color:#f4f7fa!important}
  body[data-view="wall"] .wall2010-post .wall2010-time,
  body[data-view="wall"] .wall2010-postactions button{color:var(--vkmuted)!important}
  body[data-view="wall"] .wall2010-media{
    margin-top:14px!important;
    border-radius:14px!important;
    overflow:hidden!important;
    background:#0d1015!important;
  }
  body[data-view="wall"] .wall2010-media img{max-height:480px!important;object-fit:contain!important;background:#0d1015!important}
  body[data-view="wall"] .wall2010-comment-form{
    margin-top:12px!important;
    background:#191d24!important;
    border:1px solid #282f39!important;
    border-radius:12px!important;
  }
  body[data-view="wall"] .wall2010-comment-form input{
    background:#11151a!important;
    border:1px solid #2a313a!important;
    color:#edf1f6!important;
  }
}

@media (max-width:760px){
  body[data-view="wall"] #wall2010View .wall2010-profile{
    border-radius:20px!important;
  }
  body[data-view="wall"] #wall2010View .wall2010-main{
    gap:0!important;
    background:var(--vksurface)!important;
    border:1px solid var(--vkline)!important;
    border-radius:18px!important;
    overflow:hidden!important;
  }
  body[data-view="wall"] #wall2010ComposerCard,
  body[data-view="wall"] #wall2010View .vk-dark-tabs{
    border:0!important;
    border-radius:0!important;
    background:transparent!important;
  }
  body[data-view="wall"] #wall2010ComposerCard{border-bottom:1px solid var(--vkline)!important}
  body[data-view="wall"] #wall2010View .vk-dark-tabs{border-bottom:1px solid var(--vkline)!important}
  body[data-view="wall"] #wall2010Posts{gap:0!important}
  body[data-view="wall"] #wall2010Posts .wall2010-post{
    border:0!important;
    border-top:1px solid var(--vkline)!important;
    border-radius:0!important;
    background:transparent!important;
    padding:14px!important;
  }
  body[data-view="wall"] #wall2010Posts .wall2010-post:first-child{border-top:0!important}
  body[data-view="wall"] .wall2010-media img{max-height:320px!important;object-fit:contain!important;background:#0d1015!important}
}


/* v877 — remove legacy/light CSS leakage in profile header */
body[data-view="wall"] #wall2010View .wall2010-status{
  display:flex!important;
  align-items:center!important;
  min-height:22px!important;
  margin:4px 0 0!important;
  padding:0!important;
  border:0!important;
  background:transparent!important;
  color:#929cab!important;
  overflow:hidden!important;
}
body[data-view="wall"] #wall2010View .wall2010-status > span{
  display:none!important;
}
body[data-view="wall"] #wall2010View .wall2010-status > b{
  display:inline-flex!important;
  align-items:center!important;
  min-width:0!important;
  max-width:100%!important;
  margin:0!important;
  padding:0!important;
  color:#929cab!important;
  font-size:0!important;
  line-height:1!important;
  font-weight:500!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
}
body[data-view="wall"] #wall2010View .wall2010-status > b::before{
  content:"ⓘ Подробнее"!important;
  display:inline-block!important;
  color:#929cab!important;
  font:500 13px/1.2 Geist,system-ui,sans-serif!important;
  white-space:nowrap!important;
}

/* keep profile identity block above the cover edge and remove inherited light text */
body[data-view="wall"] #wall2010View .wall2010-name,
body[data-view="wall"] #wall2010View .wall2010-handle,
body[data-view="wall"] #wall2010View .wall2010-presence{
  position:relative!important;
  z-index:3!important;
}
body[data-view="wall"] #wall2010View .wall2010-name{
  color:#fff!important;
  text-shadow:none!important;
}
body[data-view="wall"] #wall2010View .wall2010-handle{color:#8d97a6!important}
body[data-view="wall"] #wall2010View .wall2010-presence,
body[data-view="wall"] #wall2010View .wall2010-presence span{color:#39c47c!important}

/* v878 — hide profile handle */
body[data-view="wall"] #wall2010View .wall2010-handle{display:none!important;}

/* v881 — profile identity is a real block, not three elements fighting for grid rows */
@media (min-width:761px){
  body[data-view="wall"] #wall2010View .wall2010-profile{
    grid-template-columns:132px minmax(0,1fr)!important;
    grid-template-rows:auto auto auto!important;
    grid-template-areas:
      "avatar identity"
      "edit edit"
      "friends friends"!important;
    column-gap:18px!important;
    row-gap:8px!important;
    align-items:start!important;
  }

  body[data-view="wall"] #wall2010View .wall2010-avatar{
    grid-area:avatar!important;
    align-self:start!important;
    margin:0 0 0 4px!important;
  }

  body[data-view="wall"] #wall2010View .wall2010-identity{
    grid-area:identity!important;
    position:relative!important;
    z-index:3!important;
    min-width:0!important;
    min-height:116px!important;
    display:flex!important;
    flex-direction:column!important;
    align-items:flex-start!important;
    justify-content:flex-start!important;
    gap:0!important;
    padding:12px 0 0!important;
    margin:0!important;
  }

  body[data-view="wall"] #wall2010View .wall2010-identity .wall2010-name{
    margin:0!important;
    padding:0!important;
    line-height:1.08!important;
    align-self:auto!important;
  }

  body[data-view="wall"] #wall2010View .wall2010-identity .wall2010-presence{
    margin:16px 0 0!important;
    padding:0!important;
    line-height:1.2!important;
    align-self:auto!important;
  }

  body[data-view="wall"] #wall2010View .wall2010-identity .wall2010-status{
    margin:12px 0 0!important;
    padding:0!important;
    min-height:18px!important;
    line-height:1.2!important;
    align-self:auto!important;
  }

  body[data-view="wall"] #wall2010View .wall-profile-edit{
    grid-area:edit!important;
    margin-top:2px!important;
  }

  body[data-view="wall"] #wall2010View .vk-dark-friends{
    grid-area:friends!important;
    margin-top:0!important;
  }
}

@media (max-width:760px){
  body[data-view="wall"] #wall2010View .wall2010-identity{
    position:relative!important;
    z-index:3!important;
    display:flex!important;
    flex-direction:column!important;
    align-items:center!important;
    margin:0!important;
    padding:0!important;
  }
  body[data-view="wall"] #wall2010View .wall2010-identity .wall2010-name{
    margin:12px 0 0!important;
  }
  body[data-view="wall"] #wall2010View .wall2010-identity .wall2010-presence{
    margin:9px 0 0!important;
  }
  body[data-view="wall"] #wall2010View .wall2010-identity .wall2010-status{
    margin:7px 0 0!important;
  }
}

/* v882 — desktop identity alignment + mobile rollback-safe wrapper */
@media (min-width:761px){
  body[data-view="wall"] #wall2010View .wall2010-profile{
    grid-template-columns:154px minmax(0,1fr)!important;
    grid-template-areas:
      "avatar identity"
      "edit edit"
      "friends friends"!important;
    column-gap:18px!important;
    row-gap:8px!important;
  }

  body[data-view="wall"] #wall2010View .wall2010-avatar{
    width:136px!important;
    height:136px!important;
    margin:-4px 0 0 4px!important;
    border-width:4px!important;
  }

  body[data-view="wall"] #wall2010View .wall2010-identity{
    min-height:136px!important;
    padding:8px 0 0!important;
    justify-content:flex-start!important;
  }

  body[data-view="wall"] #wall2010View .wall2010-identity .wall2010-name{
    margin:0!important;
    font-size:23px!important;
    line-height:1.08!important;
  }

  body[data-view="wall"] #wall2010View .wall2010-identity .wall2010-presence{
    margin:15px 0 0!important;
  }

  body[data-view="wall"] #wall2010View .wall2010-identity .wall2010-status{
    margin:10px 0 0!important;
  }
}

/* On phones the old layout expected name/presence/status to be direct children.
   Make the new semantic wrapper transparent so mobile keeps the pre-v881 geometry. */
@media (max-width:760px){
  body[data-view="wall"] #wall2010View .wall2010-identity{
    display:contents!important;
  }
}

/* v883 — profile header layout rebuilt as one top row; overrides legacy grid rules */
@media (min-width:761px){
  body[data-view="wall"] #wall2010View .wall2010-profile{
    display:block!important;
    position:relative!important;
    overflow:hidden!important;
    padding:0 18px 14px!important;
    min-height:0!important;
    text-align:left!important;
  }
  body[data-view="wall"] #wall2010View .wall2010-profile::before{
    height:205px!important;
  }
  body[data-view="wall"] #wall2010View .wall2010-profile-top{
    position:relative!important;
    z-index:3!important;
    display:flex!important;
    align-items:flex-start!important;
    gap:16px!important;
    width:100%!important;
    min-width:0!important;
    padding-top:148px!important;
    margin:0!important;
  }
  body[data-view="wall"] #wall2010View .wall2010-avatar{
    flex:0 0 136px!important;
    width:136px!important;
    height:136px!important;
    margin:0!important;
    align-self:flex-start!important;
    border:5px solid var(--vksurface)!important;
    border-radius:50%!important;
    overflow:hidden!important;
  }
  body[data-view="wall"] #wall2010View .wall2010-identity{
    flex:1 1 auto!important;
    min-width:0!important;
    min-height:0!important;
    display:flex!important;
    flex-direction:column!important;
    align-items:flex-start!important;
    justify-content:flex-start!important;
    gap:0!important;
    margin:0!important;
    padding:54px 0 0!important;
  }
  body[data-view="wall"] #wall2010View .wall2010-identity .wall2010-name{
    margin:0!important;
    padding:0!important;
    color:#fff!important;
    font:800 23px/1.08 Geist,system-ui,sans-serif!important;
  }
  body[data-view="wall"] #wall2010View .wall2010-identity .wall2010-presence{
    margin:14px 0 0!important;
    padding:0!important;
    min-height:18px!important;
  }
  body[data-view="wall"] #wall2010View .wall2010-identity .wall2010-status{
    margin:10px 0 0!important;
    padding:0!important;
    min-height:18px!important;
  }
  body[data-view="wall"] #wall2010View .wall-profile-edit{
    display:block!important;
    width:100%!important;
    height:40px!important;
    margin:12px 0 0!important;
  }
  body[data-view="wall"] #wall2010View .vk-dark-friends{
    display:flex!important;
    width:100%!important;
    margin:10px 0 0!important;
  }
}

@media (max-width:760px){
  body[data-view="wall"] #wall2010View .wall2010-profile{
    display:block!important;
    position:relative!important;
    overflow:hidden!important;
    padding:0 12px 14px!important;
    min-height:0!important;
    text-align:center!important;
  }
  body[data-view="wall"] #wall2010View .wall2010-profile::before{
    height:190px!important;
  }
  body[data-view="wall"] #wall2010View .wall2010-profile-top{
    position:relative!important;
    z-index:3!important;
    display:flex!important;
    flex-direction:column!important;
    align-items:center!important;
    width:100%!important;
    padding-top:136px!important;
    margin:0!important;
  }
  body[data-view="wall"] #wall2010View .wall2010-avatar{
    flex:none!important;
    width:118px!important;
    height:118px!important;
    margin:0!important;
    border:5px solid var(--vksurface)!important;
    border-radius:50%!important;
    overflow:hidden!important;
  }
  body[data-view="wall"] #wall2010View .wall2010-identity{
    display:flex!important;
    flex-direction:column!important;
    align-items:center!important;
    width:100%!important;
    min-height:0!important;
    margin:0!important;
    padding:0!important;
  }
  body[data-view="wall"] #wall2010View .wall2010-identity .wall2010-name{
    margin:10px 0 0!important;
    font-size:24px!important;
    line-height:1.08!important;
  }
  body[data-view="wall"] #wall2010View .wall2010-identity .wall2010-presence{
    margin:8px 0 0!important;
    justify-content:center!important;
  }
  body[data-view="wall"] #wall2010View .wall2010-identity .wall2010-status{
    margin:7px 0 0!important;
    justify-content:center!important;
  }
  body[data-view="wall"] #wall2010View .wall-profile-edit{
    display:block!important;
    width:100%!important;
    height:46px!important;
    margin:12px 0 0!important;
  }
  body[data-view="wall"] #wall2010View .vk-dark-friends{
    width:100%!important;
    margin:9px 0 0!important;
  }
}

/* v884 — Threads-like profile section tabs; photo preview block removed from markup */
body[data-view="wall"] #wall2010View .threads-profile-tabs{
  display:grid!important;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  align-items:stretch!important;
  gap:0!important;
  width:100%!important;
  min-height:54px!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  border-bottom:1px solid #2a2d31!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
  overflow:visible!important;
}
body[data-view="wall"] #wall2010View .threads-profile-tabs button{
  position:relative!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:100%!important;
  min-width:0!important;
  height:54px!important;
  margin:0!important;
  padding:0 10px!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  color:#7f838a!important;
  font:600 13px/1 Geist,system-ui,sans-serif!important;
  white-space:nowrap!important;
  cursor:pointer!important;
}
body[data-view="wall"] #wall2010View .threads-profile-tabs button:hover{
  color:#b7bac0!important;
  background:rgba(255,255,255,.018)!important;
}
body[data-view="wall"] #wall2010View .threads-profile-tabs button.is-active{
  color:#f2f3f5!important;
}
body[data-view="wall"] #wall2010View .threads-profile-tabs button.is-active::after{
  content:""!important;
  position:absolute!important;
  left:0!important;
  right:0!important;
  bottom:-1px!important;
  width:auto!important;
  height:1px!important;
  border-radius:0!important;
  background:#f1f2f4!important;
}

@media (max-width:760px){
  body[data-view="wall"] #wall2010View .threads-profile-tabs{
    min-height:50px!important;
    border-radius:0!important;
    overflow:visible!important;
  }
  body[data-view="wall"] #wall2010View .threads-profile-tabs button{
    height:50px!important;
    padding:0 4px!important;
    font-size:12px!important;
  }
}

/* v885 — profile identity: larger avatar, @Ksan + compact level, two inline actions */
body[data-view="wall"] #wall2010View .wall2010-avatar{
  width:154px!important;
  height:154px!important;
  flex-basis:154px!important;
}
body[data-view="wall"] #wall2010View .wall2010-avatar .ksan-level-badge--avatar{
  display:none!important;
}
body[data-view="wall"] #wall2010View .wall2010-identity{
  padding-top:58px!important;
}
body[data-view="wall"] #wall2010View .wall2010-name-row{
  display:flex!important;
  align-items:center!important;
  gap:7px!important;
  min-width:0!important;
}
body[data-view="wall"] #wall2010View .wall2010-name-row .wall2010-name{
  margin:0!important;
  font:800 24px/1.08 Geist,system-ui,sans-serif!important;
  letter-spacing:-.025em!important;
}
body[data-view="wall"] #wall2010View .wall2010-inline-level{
  display:inline-flex!important;
  align-items:center!important;
  flex:0 0 auto!important;
}
body[data-view="wall"] #wall2010View .wall2010-inline-level .ksan-level-badge{
  min-width:0!important;
  height:20px!important;
  margin:0!important;
  padding:0 2px!important;
  gap:2px!important;
  color:#aab1bc!important;
  font-size:11px!important;
  line-height:20px!important;
  background:transparent!important;
}
body[data-view="wall"] #wall2010View .wall2010-inline-level .ksan-level-mark{
  width:10px!important;
  height:13px!important;
  flex-basis:10px!important;
}
body[data-view="wall"] #wall2010View .profile-identity-actions{
  display:flex!important;
  flex-wrap:wrap!important;
  gap:7px!important;
  margin-top:12px!important;
}
body[data-view="wall"] #wall2010View .profile-identity-action{
  min-height:30px!important;
  padding:0 10px!important;
  border:1px solid #2b3139!important;
  border-radius:9px!important;
  background:#171a1f!important;
  color:#d9dde4!important;
  font:650 11px/1 Geist,system-ui,sans-serif!important;
  white-space:nowrap!important;
  cursor:pointer!important;
}
body[data-view="wall"] #wall2010View .profile-identity-action:hover{
  background:#1d2127!important;
  border-color:#39414b!important;
  color:#fff!important;
}
body[data-view="wall"] #wall2010View .wall2010-presence,
body[data-view="wall"] #wall2010View .wall2010-status{
  display:none!important;
}

@media (max-width:760px){
  body[data-view="wall"] #wall2010View .wall2010-avatar{
    width:132px!important;
    height:132px!important;
    flex-basis:132px!important;
  }
  body[data-view="wall"] #wall2010View .wall2010-identity{
    padding-top:0!important;
  }
  body[data-view="wall"] #wall2010View .wall2010-name-row{
    justify-content:center!important;
    margin-top:11px!important;
  }
  body[data-view="wall"] #wall2010View .wall2010-name-row .wall2010-name{
    margin:0!important;
    font-size:24px!important;
  }
  body[data-view="wall"] #wall2010View .profile-identity-actions{
    justify-content:center!important;
    width:100%!important;
    margin-top:10px!important;
  }
  body[data-view="wall"] #wall2010View .profile-identity-action{
    min-height:32px!important;
    padding:0 10px!important;
    font-size:11px!important;
  }
}

@media (max-width:390px){
  body[data-view="wall"] #wall2010View .profile-identity-actions{
    display:grid!important;
    grid-template-columns:1fr 1fr!important;
    gap:6px!important;
  }
  body[data-view="wall"] #wall2010View .profile-identity-action{
    width:100%!important;
    padding:0 7px!important;
    font-size:10.5px!important;
  }
}


/* v886 — raise cover slightly and restyle profile actions like dark settings rows */
@media (min-width:761px){
  body[data-view="wall"] #wall2010View .wall2010-profile::before{
    background-position:center 27%!important;
  }
  body[data-view="wall"] #wall2010View .wall2010-profile-top{
    padding-top:142px!important;
  }
}
@media (max-width:760px){
  body[data-view="wall"] #wall2010View .wall2010-profile::before{
    background-position:center 24%!important;
  }
  body[data-view="wall"] #wall2010View .wall2010-profile-top{
    padding-top:130px!important;
  }
}

body[data-view="wall"] #wall2010View .wall2010-identity{
  gap:10px!important;
}
body[data-view="wall"] #wall2010View .wall2010-name-row{
  margin:0!important;
}
body[data-view="wall"] #wall2010View .profile-identity-actions{
  display:flex!important;
  flex-direction:column!important;
  align-items:stretch!important;
  width:min(100%,430px)!important;
  gap:10px!important;
  margin-top:8px!important;
}
body[data-view="wall"] #wall2010View .profile-identity-action{
  display:grid!important;
  grid-template-columns:22px minmax(0,1fr) auto!important;
  align-items:center!important;
  column-gap:12px!important;
  width:100%!important;
  min-height:52px!important;
  padding:0 16px!important;
  border:1px solid #2b3139!important;
  border-radius:14px!important;
  background:linear-gradient(180deg,#161a20,#12161c)!important;
  color:#d8dce5!important;
  font:700 15px/1.1 Geist,system-ui,sans-serif!important;
  text-align:left!important;
  box-shadow:0 1px 0 rgba(255,255,255,.03) inset!important;
}
body[data-view="wall"] #wall2010View .profile-identity-action:hover{
  background:linear-gradient(180deg,#1c2128,#151920)!important;
  border-color:#3b4450!important;
  color:#fff!important;
}
body[data-view="wall"] #wall2010View .profile-identity-action__icon{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:22px!important;
  height:22px!important;
  color:#8a90a0!important;
}
body[data-view="wall"] #wall2010View .profile-identity-action__icon svg{
  width:20px!important;
  height:20px!important;
  stroke:currentColor!important;
  fill:none!important;
  stroke-width:1.8!important;
  stroke-linecap:round!important;
  stroke-linejoin:round!important;
}
body[data-view="wall"] #wall2010View .profile-identity-action__label{
  min-width:0!important;
}
body[data-view="wall"] #wall2010View .profile-identity-action__chevron{
  color:#7f8696!important;
  font:700 24px/1 Geist,system-ui,sans-serif!important;
}

@media (max-width:760px){
  body[data-view="wall"] #wall2010View .profile-identity-actions{
    width:100%!important;
    max-width:420px!important;
    margin-top:8px!important;
    gap:8px!important;
  }
  body[data-view="wall"] #wall2010View .profile-identity-action{
    min-height:48px!important;
    padding:0 14px!important;
    border-radius:13px!important;
    font-size:14px!important;
  }
}
@media (max-width:390px){
  body[data-view="wall"] #wall2010View .profile-identity-actions{
    display:flex!important;
    grid-template-columns:none!important;
  }
  body[data-view="wall"] #wall2010View .profile-identity-action{
    font-size:13px!important;
    column-gap:10px!important;
    padding:0 12px!important;
  }
}


/* v887 — DESKTOP WEB ONLY: lift the whole profile/cover card, not just the image crop */
@media (min-width:761px){
  body[data-view="wall"] #wall2010View .wall2010-profile{
    margin-top:-22px!important;
    margin-bottom:22px!important;
  }
  body[data-view="wall"] #wall2010View .wall2010-profile::before{
    background-position:center 27%!important;
  }
}


/* v888 — cover-only correction. Do not move the profile card or profile content. */
@media (min-width:761px){
  body[data-view="wall"] #wall2010View .wall2010-profile{
    margin-top:0!important;
    margin-bottom:0!important;
  }
  body[data-view="wall"] #wall2010View .wall2010-profile-top{
    padding-top:148px!important;
  }
  body[data-view="wall"] #wall2010View .wall2010-profile::before{
    /* same cover box; only move the photo itself upward inside the crop */
    height:205px!important;
    inset:0 0 auto 0!important;
    background-position:center 12%!important;
  }
}
/* Restore pre-v886 mobile geometry: this task is desktop-cover only. */
@media (max-width:760px){
  body[data-view="wall"] #wall2010View .wall2010-profile-top{
    padding-top:136px!important;
  }
  body[data-view="wall"] #wall2010View .wall2010-profile::before{
    height:190px!important;
    background-position:center 32%!important;
  }
}


/* v889 — username/level below avatar; compact actions after Edit */
@media (min-width:761px){
  body[data-view="wall"] #wall2010View .wall2010-profile-top{
    display:flex!important;
    flex-direction:column!important;
    align-items:flex-start!important;
    gap:0!important;
    padding-top:148px!important;
  }
  body[data-view="wall"] #wall2010View .wall2010-identity{
    display:block!important;
    width:154px!important;
    padding:0!important;
    margin:7px 0 0!important;
  }
  body[data-view="wall"] #wall2010View .wall2010-name-row{
    justify-content:center!important;
    width:100%!important;
    gap:6px!important;
    margin:0!important;
  }
  body[data-view="wall"] #wall2010View .wall2010-name-row .wall2010-name{
    font-size:20px!important;
    line-height:1.05!important;
  }
  body[data-view="wall"] #wall2010View .wall-profile-edit{
    margin-top:10px!important;
  }
  body[data-view="wall"] #wall2010View .profile-identity-actions{
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    width:100%!important;
    gap:8px!important;
    margin:8px 0 0!important;
  }
  body[data-view="wall"] #wall2010View .profile-identity-action{
    display:grid!important;
    grid-template-columns:17px minmax(0,1fr) auto!important;
    column-gap:8px!important;
    min-height:36px!important;
    height:36px!important;
    padding:0 11px!important;
    border-radius:10px!important;
    font-size:11px!important;
    font-weight:650!important;
  }
  body[data-view="wall"] #wall2010View .profile-identity-action__icon{
    width:17px!important;
    height:17px!important;
  }
  body[data-view="wall"] #wall2010View .profile-identity-action__icon svg{
    width:16px!important;
    height:16px!important;
  }
  body[data-view="wall"] #wall2010View .profile-identity-action__chevron{
    font-size:18px!important;
  }
}

@media (max-width:760px){
  body[data-view="wall"] #wall2010View .wall2010-profile-top{
    display:flex!important;
    flex-direction:column!important;
    align-items:center!important;
  }
  body[data-view="wall"] #wall2010View .wall2010-identity{
    display:block!important;
    width:auto!important;
    padding:0!important;
    margin:7px 0 0!important;
  }
  body[data-view="wall"] #wall2010View .wall2010-name-row{
    justify-content:center!important;
    margin:0!important;
  }
  body[data-view="wall"] #wall2010View .wall2010-name-row .wall2010-name{
    font-size:21px!important;
  }
  body[data-view="wall"] #wall2010View .profile-identity-actions{
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    width:100%!important;
    gap:7px!important;
    margin:8px 0 0!important;
  }
  body[data-view="wall"] #wall2010View .profile-identity-action{
    min-height:36px!important;
    height:36px!important;
    padding:0 9px!important;
    border-radius:10px!important;
    font-size:10.5px!important;
    grid-template-columns:16px minmax(0,1fr) auto!important;
    column-gap:7px!important;
  }
  body[data-view="wall"] #wall2010View .profile-identity-action__icon,
  body[data-view="wall"] #wall2010View .profile-identity-action__icon svg{
    width:15px!important;
    height:15px!important;
  }
  body[data-view="wall"] #wall2010View .profile-identity-action__chevron{
    font-size:17px!important;
  }
}

@media (max-width:390px){
  body[data-view="wall"] #wall2010View .profile-identity-actions{
    grid-template-columns:1fr!important;
  }
}


/* v890 — action area without dark button cards / outlines */
body[data-view="wall"] #wall2010View .profile-identity-actions{
  width:100%!important;
  display:flex!important;
  flex-direction:column!important;
  gap:0!important;
  margin-top:10px!important;
  padding:2px 0 0!important;
  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
}
body[data-view="wall"] #wall2010View .profile-identity-action{
  display:grid!important;
  grid-template-columns:18px minmax(0,1fr) auto!important;
  align-items:center!important;
  width:100%!important;
  min-height:34px!important;
  padding:0 4px!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
  color:#bfc5d0!important;
  font:650 13px/1.15 Geist,system-ui,sans-serif!important;
  text-align:left!important;
}
body[data-view="wall"] #wall2010View .profile-identity-action + .profile-identity-action{
  margin-top:2px!important;
}
body[data-view="wall"] #wall2010View .profile-identity-action:hover{
  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
  color:#fff!important;
}
body[data-view="wall"] #wall2010View .profile-identity-action__icon{
  width:18px!important;
  height:18px!important;
  color:#8e95a5!important;
}
body[data-view="wall"] #wall2010View .profile-identity-action__icon svg{
  width:16px!important;
  height:16px!important;
  stroke-width:1.7!important;
}
body[data-view="wall"] #wall2010View .profile-identity-action__chevron{
  color:#768094!important;
  font-size:20px!important;
  line-height:1!important;
}

@media (min-width:761px){
  body[data-view="wall"] #wall2010View .profile-identity-actions{
    grid-template-columns:none!important;
  }
}
@media (max-width:760px){
  body[data-view="wall"] #wall2010View .profile-identity-actions{
    gap:0!important;
    margin-top:8px!important;
  }
  body[data-view="wall"] #wall2010View .profile-identity-action{
    min-height:32px!important;
    padding:0 2px!important;
    font-size:12.5px!important;
  }
  body[data-view="wall"] #wall2010View .profile-identity-action__icon{
    width:16px!important;
    height:16px!important;
  }
  body[data-view="wall"] #wall2010View .profile-identity-action__icon svg{
    width:15px!important;
    height:15px!important;
  }
}


/* v891 — remove the large dark profile-card surface; keep only the cover itself */
body[data-view="wall"] #wall2010View .wall2010-profile{
  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
  overflow:visible!important;
}
body[data-view="wall"] #wall2010View .wall2010-profile::before{
  border-radius:22px 22px 0 0!important;
  box-shadow:inset 0 0 0 1px var(--vkline)!important;
}
@media (max-width:760px){
  body[data-view="wall"] #wall2010View .wall2010-profile::before{
    border-radius:18px 18px 0 0!important;
  }
}


/* v892 — return profile surface with reference-matched dark tone */
body[data-view="wall"] #wall2010View .wall2010-profile{
  background:#181818!important;
  border:0!important;
  box-shadow:none!important;
}
@media (min-width:761px){
  body[data-view="wall"] #wall2010View .wall2010-profile{
    background:linear-gradient(180deg, rgba(24,24,24,0) 0 165px, #181818 165px 100%)!important;
  }
}
@media (max-width:760px){
  body[data-view="wall"] #wall2010View .wall2010-profile{
    background:linear-gradient(180deg, rgba(24,24,24,0) 0 150px, #181818 150px 100%)!important;
  }
}


/* v893 — center avatar + @Ksan/level as one profile identity stack */
@media (min-width:761px){
  body[data-view="wall"] #wall2010View .wall2010-profile-top{
    align-items:center!important;
    width:100%!important;
  }
  body[data-view="wall"] #wall2010View .wall2010-avatar{
    margin-left:0!important;
    margin-right:0!important;
  }
  body[data-view="wall"] #wall2010View .wall2010-identity{
    width:auto!important;
    min-width:0!important;
    margin:8px auto 0!important;
    text-align:center!important;
  }
  body[data-view="wall"] #wall2010View .wall2010-name-row{
    display:flex!important;
    justify-content:center!important;
    align-items:center!important;
    width:auto!important;
    margin:0 auto!important;
  }
}


/* v894 — actually center the avatar itself; enlarge centered @Ksan */
@media (min-width:761px){
  body[data-view="wall"] #wall2010View .wall2010-profile-top{
    display:flex!important;
    flex-direction:column!important;
    align-items:center!important;
    justify-content:flex-start!important;
    gap:0!important;
  }
  body[data-view="wall"] #wall2010View .wall2010-avatar{
    align-self:center!important;
    margin-left:auto!important;
    margin-right:auto!important;
  }
  body[data-view="wall"] #wall2010View .wall2010-identity{
    flex:none!important;
    width:100%!important;
    margin:10px 0 0!important;
    padding-top:0!important;
    align-items:center!important;
    text-align:center!important;
  }
  body[data-view="wall"] #wall2010View .wall2010-name-row{
    justify-content:center!important;
    width:100%!important;
  }
  body[data-view="wall"] #wall2010View .wall2010-name-row .wall2010-name{
    font-size:31px!important;
    line-height:1.04!important;
    letter-spacing:-.035em!important;
  }
}
@media (max-width:760px){
  body[data-view="wall"] #wall2010View .wall2010-name-row .wall2010-name{
    font-size:27px!important;
  }
}


/* v895 — profile without cover image */
body[data-view="wall"] #wall2010View .wall2010-profile::before{
  display:none!important;
  content:none!important;
  background:none!important;
}
body[data-view="wall"] #wall2010View .wall2010-profile{
  background:#181818!important;
}
@media (min-width:761px){
  body[data-view="wall"] #wall2010View .wall2010-profile-top{
    padding-top:28px!important;
  }
}
@media (max-width:760px){
  body[data-view="wall"] #wall2010View .wall2010-profile-top{
    padding-top:22px!important;
  }
}


/* v896 — replace profile rows with 4 quick square actions like the reference */
body[data-view="wall"] #wall2010View .profile-quick-actions{
  display:grid!important;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:10px!important;
  width:100%!important;
  margin-top:12px!important;
  padding:0!important;
  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
}
body[data-view="wall"] #wall2010View .profile-quick-action{
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:center!important;
  gap:8px!important;
  width:100%!important;
  min-height:70px!important;
  padding:10px 8px!important;
  border:1px solid #242424!important;
  border-radius:14px!important;
  background:#1d1d1d!important;
  box-shadow:none!important;
  color:#f0f0f0!important;
  cursor:pointer!important;
}
body[data-view="wall"] #wall2010View .profile-quick-action:hover{
  background:#232323!important;
  border-color:#2d2d2d!important;
  color:#fff!important;
}
body[data-view="wall"] #wall2010View .profile-quick-action__icon{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:22px!important;
  height:22px!important;
  color:#f5f5f5!important;
}
body[data-view="wall"] #wall2010View .profile-quick-action__icon svg{
  width:20px!important;
  height:20px!important;
  stroke:currentColor!important;
  fill:none!important;
  stroke-width:1.8!important;
  stroke-linecap:round!important;
  stroke-linejoin:round!important;
}
body[data-view="wall"] #wall2010View .profile-quick-action__label{
  color:#e7e7e7!important;
  font:700 12px/1 Geist,system-ui,sans-serif!important;
  letter-spacing:-.01em!important;
  text-align:center!important;
}

@media (max-width:760px){
  body[data-view="wall"] #wall2010View .profile-quick-actions{
    gap:8px!important;
    margin-top:10px!important;
  }
  body[data-view="wall"] #wall2010View .profile-quick-action{
    min-height:64px!important;
    padding:8px 4px!important;
    border-radius:12px!important;
  }
  body[data-view="wall"] #wall2010View .profile-quick-action__icon{
    width:20px!important;
    height:20px!important;
  }
  body[data-view="wall"] #wall2010View .profile-quick-action__icon svg{
    width:18px!important;
    height:18px!important;
  }
  body[data-view="wall"] #wall2010View .profile-quick-action__label{
    font-size:11px!important;
  }
}


/* v897 — restore old actions, but style them as smaller reference-like tiles */
body[data-view="wall"] #wall2010View .profile-tile-actions{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:10px!important;
  width:100%!important;
  margin-top:12px!important;
  padding:0!important;
  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
}
body[data-view="wall"] #wall2010View .profile-tile-action{
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:center!important;
  gap:6px!important;
  width:100%!important;
  min-height:58px!important;
  padding:8px 8px!important;
  border:1px solid #252525!important;
  border-radius:12px!important;
  background:#1d1d1d!important;
  box-shadow:none!important;
  color:#f1f1f1!important;
  cursor:pointer!important;
  text-align:center!important;
}
body[data-view="wall"] #wall2010View .profile-tile-action:hover{
  background:#242424!important;
  border-color:#313131!important;
  color:#fff!important;
}
body[data-view="wall"] #wall2010View .profile-tile-action__icon{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:18px!important;
  height:18px!important;
  color:#f5f5f5!important;
}
body[data-view="wall"] #wall2010View .profile-tile-action__icon svg{
  width:18px!important;
  height:18px!important;
  stroke:currentColor!important;
  fill:none!important;
  stroke-width:1.8!important;
  stroke-linecap:round!important;
  stroke-linejoin:round!important;
}
body[data-view="wall"] #wall2010View .profile-tile-action__label{
  font:650 11px/1.15 Geist,system-ui,sans-serif!important;
  color:#ececec!important;
  letter-spacing:-.01em!important;
}
@media (max-width:760px){
  body[data-view="wall"] #wall2010View .profile-tile-actions{
    gap:8px!important;
    margin-top:10px!important;
  }
  body[data-view="wall"] #wall2010View .profile-tile-action{
    min-height:54px!important;
    padding:7px 6px!important;
    border-radius:11px!important;
  }
  body[data-view="wall"] #wall2010View .profile-tile-action__label{
    font-size:10.5px!important;
  }
}


/* v898 — make tiles closer to the reference, remove edit button, restore Ещё */
body[data-view="wall"] #wall2010View .wall-profile-edit{
  display:none!important;
}
body[data-view="wall"] #wall2010View .profile-tile-actions{
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:12px!important;
  width:100%!important;
  margin-top:14px!important;
  padding:0!important;
  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
}
body[data-view="wall"] #wall2010View .profile-tile-action{
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:center!important;
  gap:7px!important;
  width:100%!important;
  min-height:66px!important;
  padding:8px 8px 9px!important;
  border:0!important;
  border-radius:14px!important;
  background:#1a1a1a!important;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.03)!important;
  color:#f2f2f2!important;
  cursor:pointer!important;
  text-align:center!important;
}
body[data-view="wall"] #wall2010View .profile-tile-action:hover{
  background:#202020!important;
  color:#fff!important;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.05)!important;
}
body[data-view="wall"] #wall2010View .profile-tile-action__icon{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:22px!important;
  height:22px!important;
  color:#ffffff!important;
}
body[data-view="wall"] #wall2010View .profile-tile-action__icon svg{
  width:20px!important;
  height:20px!important;
  stroke:currentColor!important;
  fill:none!important;
  stroke-width:1.9!important;
  stroke-linecap:round!important;
  stroke-linejoin:round!important;
}
body[data-view="wall"] #wall2010View .profile-tile-action__label{
  font:700 11px/1 Geist,system-ui,sans-serif!important;
  color:#efefef!important;
  letter-spacing:-.01em!important;
  text-align:center!important;
}
@media (max-width:760px){
  body[data-view="wall"] #wall2010View .profile-tile-actions{
    gap:8px!important;
    margin-top:12px!important;
  }
  body[data-view="wall"] #wall2010View .profile-tile-action{
    min-height:60px!important;
    border-radius:12px!important;
    padding:7px 6px 8px!important;
  }
  body[data-view="wall"] #wall2010View .profile-tile-action__icon{
    width:20px!important;
    height:20px!important;
  }
  body[data-view="wall"] #wall2010View .profile-tile-action__icon svg{
    width:18px!important;
    height:18px!important;
  }
  body[data-view="wall"] #wall2010View .profile-tile-action__label{
    font-size:10px!important;
  }
}


/* v899 — visible metrics + compact More menu */
body[data-view="wall"] #wall2010View .profile-summary-row{
  position:relative!important;
  display:grid!important;
  grid-template-columns:minmax(0,1fr) minmax(0,1fr) 78px!important;
  align-items:stretch!important;
  gap:10px!important;
  width:100%!important;
  margin-top:14px!important;
}
body[data-view="wall"] #wall2010View .profile-summary-metric{
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:center!important;
  min-height:58px!important;
  padding:8px 10px!important;
  border:0!important;
  border-radius:12px!important;
  background:#1d1d1d!important;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.03)!important;
}
body[data-view="wall"] #wall2010View .profile-summary-metric strong{
  color:#f4f4f4!important;
  font:800 18px/1 Geist,system-ui,sans-serif!important;
  letter-spacing:-.02em!important;
}
body[data-view="wall"] #wall2010View .profile-summary-metric span{
  margin-top:6px!important;
  color:#a7a7a7!important;
  font:650 10.5px/1 Geist,system-ui,sans-serif!important;
}
body[data-view="wall"] #wall2010View .profile-more-wrap{
  position:relative!important;
  min-width:0!important;
}
body[data-view="wall"] #wall2010View .profile-more-button{
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:center!important;
  gap:7px!important;
  width:100%!important;
  height:100%!important;
  min-height:58px!important;
  padding:8px!important;
  border:0!important;
  border-radius:12px!important;
  background:#1d1d1d!important;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.03)!important;
  color:#ededed!important;
  font:700 10.5px/1 Geist,system-ui,sans-serif!important;
  cursor:pointer!important;
}
body[data-view="wall"] #wall2010View .profile-more-button:hover{
  background:#232323!important;
}
body[data-view="wall"] #wall2010View .profile-more-button__icon{
  display:flex!important;
  width:20px!important;
  height:20px!important;
  align-items:center!important;
  justify-content:center!important;
}
body[data-view="wall"] #wall2010View .profile-more-button__icon svg{
  width:19px!important;
  height:19px!important;
  fill:currentColor!important;
  stroke:none!important;
}
body[data-view="wall"] #wall2010View .profile-more-menu{
  position:absolute!important;
  z-index:50!important;
  top:calc(100% + 8px)!important;
  right:0!important;
  width:190px!important;
  padding:6px!important;
  border:1px solid #303030!important;
  border-radius:12px!important;
  background:#1b1b1b!important;
  box-shadow:0 14px 40px rgba(0,0,0,.35)!important;
}
body[data-view="wall"] #wall2010View .profile-more-menu[hidden]{display:none!important}
body[data-view="wall"] #wall2010View .profile-more-menu button{
  display:flex!important;
  align-items:center!important;
  width:100%!important;
  min-height:36px!important;
  padding:0 10px!important;
  border:0!important;
  border-radius:8px!important;
  background:transparent!important;
  color:#e6e6e6!important;
  font:600 12px/1.15 Geist,system-ui,sans-serif!important;
  text-align:left!important;
  cursor:pointer!important;
}
body[data-view="wall"] #wall2010View .profile-more-menu button:hover{
  background:#242424!important;
  color:#fff!important;
}
@media (max-width:760px){
  body[data-view="wall"] #wall2010View .profile-summary-row{
    grid-template-columns:minmax(0,1fr) minmax(0,1fr) 68px!important;
    gap:8px!important;
    margin-top:12px!important;
  }
  body[data-view="wall"] #wall2010View .profile-summary-metric,
  body[data-view="wall"] #wall2010View .profile-more-button{
    min-height:54px!important;
    border-radius:11px!important;
  }
  body[data-view="wall"] #wall2010View .profile-summary-metric strong{
    font-size:17px!important;
  }
  body[data-view="wall"] #wall2010View .profile-more-menu{
    width:176px!important;
  }
}


/* v900 — larger profile card, remove friends row, unify lower content surfaces */
body[data-view="wall"] #wall2010View .vk-dark-friends{
  display:none!important;
}
body[data-view="wall"] #wall2010View .wall2010-profile{
  padding-left:24px!important;
  padding-right:24px!important;
  padding-bottom:24px!important;
}
@media (min-width:761px){
  body[data-view="wall"] #wall2010View .wall2010-profile-top{
    padding-top:36px!important;
  }
  body[data-view="wall"] #wall2010View .wall2010-avatar{
    width:178px!important;
    height:178px!important;
    flex-basis:178px!important;
  }
  body[data-view="wall"] #wall2010View .wall2010-identity{
    margin-top:14px!important;
  }
  body[data-view="wall"] #wall2010View .wall2010-name-row .wall2010-name{
    font-size:33px!important;
  }
  body[data-view="wall"] #wall2010View .profile-summary-row{
    margin-top:18px!important;
  }
  body[data-view="wall"] #wall2010View .profile-summary-metric,
  body[data-view="wall"] #wall2010View .profile-more-button{
    min-height:64px!important;
  }
}
@media (max-width:760px){
  body[data-view="wall"] #wall2010View .wall2010-profile{
    padding-left:16px!important;
    padding-right:16px!important;
    padding-bottom:18px!important;
  }
  body[data-view="wall"] #wall2010View .wall2010-profile-top{
    padding-top:26px!important;
  }
  body[data-view="wall"] #wall2010View .wall2010-avatar{
    width:148px!important;
    height:148px!important;
    flex-basis:148px!important;
  }
}

/* same surface color as profile for share/content area */
body[data-view="wall"] #wall2010View #wall2010ComposerCard,
body[data-view="wall"] #wall2010View .threads-profile-tabs,
body[data-view="wall"] #wall2010View .wall2010-posts,
body[data-view="wall"] #wall2010View .wall2010-post,
body[data-view="wall"] #wall2010View .wall2010-flow-head{
  background:#181818!important;
}
body[data-view="wall"] #wall2010View #wall2010ComposerCard,
body[data-view="wall"] #wall2010View .wall2010-post{
  border-color:#242424!important;
}
body[data-view="wall"] #wall2010View .threads-profile-tabs{
  border-bottom-color:#2a2a2a!important;
}
body[data-view="wall"] #wall2010View .wall2010-composer-toggle{
  background:#181818!important;
}
body[data-view="wall"] #wall2010View .wall2010-composer-toggle span{
  background:#202020!important;
  color:#9298a2!important;
}


/* v901 — make desktop personal/profile area wider */
@media (min-width:761px){
  body.has-site-header[data-view="wall"] .ksan-shell,
  body.has-site-header[data-view="personal"] .ksan-shell{
    grid-template-columns:218px minmax(0,860px)!important;
    column-gap:30px!important;
  }
  body[data-view="wall"] .ksan-main{
    width:860px!important;
    max-width:860px!important;
  }
  body[data-view="wall"] #wall2010View{
    max-width:860px!important;
  }
  body[data-view="wall"] #wall2010View .wall2010-profile{
    padding-left:30px!important;
    padding-right:30px!important;
  }
  body[data-view="wall"] #wall2010View .wall2010-grid{
    gap:16px!important;
  }
}


/* v902 — recolor metrics/more controls to a Telegram-like dark blue surface */
body[data-view="wall"] #wall2010View .profile-summary-metric,
body[data-view="wall"] #wall2010View .profile-more-button{
  background:linear-gradient(180deg,#1f2d3a 0%, #1b2632 100%)!important;
  box-shadow:inset 0 0 0 1px rgba(113,156,201,.14)!important;
}
body[data-view="wall"] #wall2010View .profile-summary-metric strong{
  color:#f3f7fb!important;
}
body[data-view="wall"] #wall2010View .profile-summary-metric span,
body[data-view="wall"] #wall2010View .profile-more-button{
  color:#a9bfd3!important;
}
body[data-view="wall"] #wall2010View .profile-more-button:hover,
body[data-view="wall"] #wall2010View .profile-summary-metric:hover{
  background:linear-gradient(180deg,#243546 0%, #1f2f3f 100%)!important;
}
body[data-view="wall"] #wall2010View .profile-more-menu{
  border:1px solid #31465a!important;
  background:#1a2632!important;
  box-shadow:0 10px 28px rgba(0,0,0,.28)!important;
}
body[data-view="wall"] #wall2010View .profile-more-menu button{
  color:#d7e3ef!important;
}
body[data-view="wall"] #wall2010View .profile-more-menu button:hover{
  background:#223140!important;
}


/* v903 — simplify metrics row: less infographic, more calm/neutral */
body[data-view="wall"] #wall2010View .profile-summary-row{
  width:100%!important;
  max-width:640px!important;
  margin:18px auto 0!important;
  grid-template-columns:minmax(0,1fr) minmax(0,1fr) 84px!important;
  gap:12px!important;
}
body[data-view="wall"] #wall2010View .profile-summary-metric,
body[data-view="wall"] #wall2010View .profile-more-button{
  min-height:54px!important;
  padding:8px 10px!important;
  border:1px solid #2a2a2a!important;
  border-radius:16px!important;
  background:#1b1b1b!important;
  box-shadow:none!important;
}
body[data-view="wall"] #wall2010View .profile-summary-metric:hover,
body[data-view="wall"] #wall2010View .profile-more-button:hover{
  background:#202020!important;
  border-color:#343434!important;
}
body[data-view="wall"] #wall2010View .profile-summary-metric strong{
  color:#f1f1f1!important;
  font:800 16px/1 Geist,system-ui,sans-serif!important;
  letter-spacing:-.015em!important;
}
body[data-view="wall"] #wall2010View .profile-summary-metric span{
  margin-top:5px!important;
  color:#9a9a9a!important;
  font:650 11px/1 Geist,system-ui,sans-serif!important;
}
body[data-view="wall"] #wall2010View .profile-more-button{
  gap:6px!important;
  color:#d9d9d9!important;
  font:700 11px/1 Geist,system-ui,sans-serif!important;
}
body[data-view="wall"] #wall2010View .profile-more-button__icon{
  width:18px!important;
  height:18px!important;
}
body[data-view="wall"] #wall2010View .profile-more-button__icon svg{
  width:18px!important;
  height:18px!important;
}
body[data-view="wall"] #wall2010View .profile-more-menu{
  border:1px solid #2e2e2e!important;
  background:#1b1b1b!important;
  box-shadow:0 12px 30px rgba(0,0,0,.32)!important;
}
body[data-view="wall"] #wall2010View .profile-more-menu button{
  color:#ececec!important;
}
body[data-view="wall"] #wall2010View .profile-more-menu button:hover{
  background:#232323!important;
}

@media (max-width:760px){
  body[data-view="wall"] #wall2010View .profile-summary-row{
    max-width:none!important;
    margin-top:14px!important;
    gap:8px!important;
    grid-template-columns:minmax(0,1fr) minmax(0,1fr) 70px!important;
  }
  body[data-view="wall"] #wall2010View .profile-summary-metric,
  body[data-view="wall"] #wall2010View .profile-more-button{
    min-height:50px!important;
    border-radius:14px!important;
    padding:7px 8px!important;
  }
  body[data-view="wall"] #wall2010View .profile-summary-metric strong{
    font-size:15px!important;
  }
  body[data-view="wall"] #wall2010View .profile-summary-metric span,
  body[data-view="wall"] #wall2010View .profile-more-button{
    font-size:10px!important;
  }
}


/* v904 — compact visual stats, not oversized dashboard cards */
body[data-view="wall"] #wall2010View .profile-summary-row{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) minmax(0,1fr) 68px!important;
  gap:10px!important;
  width:100%!important;
  max-width:620px!important;
  margin:18px auto 0!important;
}
body[data-view="wall"] #wall2010View .profile-summary-metric{
  position:relative!important;
  display:grid!important;
  grid-template-columns:40px minmax(0,1fr)!important;
  align-items:center!important;
  column-gap:11px!important;
  min-height:62px!important;
  padding:10px 14px!important;
  overflow:hidden!important;
  border:1px solid rgba(255,255,255,.055)!important;
  border-radius:15px!important;
  background:linear-gradient(180deg,#202020 0%,#1b1b1b 100%)!important;
  box-shadow:0 1px 0 rgba(255,255,255,.025) inset!important;
}
body[data-view="wall"] #wall2010View .profile-summary-metric__icon{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:38px!important;
  height:38px!important;
  border-radius:12px!important;
  background:#171717!important;
  border:1px solid rgba(255,255,255,.05)!important;
}
body[data-view="wall"] #wall2010View .profile-summary-metric__icon svg{
  width:19px!important;
  height:19px!important;
  fill:none!important;
  stroke:currentColor!important;
  stroke-width:1.7!important;
  stroke-linecap:round!important;
  stroke-linejoin:round!important;
}
body[data-view="wall"] #wall2010View .profile-summary-metric--rate .profile-summary-metric__icon{
  color:#b9a8ff!important;
}
body[data-view="wall"] #wall2010View .profile-summary-metric--contacts .profile-summary-metric__icon{
  color:#86c9aa!important;
}
body[data-view="wall"] #wall2010View .profile-summary-metric__copy{
  display:flex!important;
  flex-direction:column!important;
  align-items:flex-start!important;
  justify-content:center!important;
  min-width:0!important;
}
body[data-view="wall"] #wall2010View .profile-summary-metric__copy strong{
  color:#f4f4f4!important;
  font:800 21px/1 Geist,system-ui,sans-serif!important;
  letter-spacing:-.025em!important;
}
body[data-view="wall"] #wall2010View .profile-summary-metric__copy > span{
  margin-top:5px!important;
  color:#9b9b9b!important;
  font:650 11px/1 Geist,system-ui,sans-serif!important;
}
body[data-view="wall"] #wall2010View .profile-summary-metric__accent{
  position:absolute!important;
  left:14px!important;
  right:14px!important;
  bottom:0!important;
  height:2px!important;
  border-radius:2px 2px 0 0!important;
  opacity:.48!important;
}
body[data-view="wall"] #wall2010View .profile-summary-metric--rate .profile-summary-metric__accent{
  background:linear-gradient(90deg,transparent,#b9a8ff 35%,transparent 74%)!important;
}
body[data-view="wall"] #wall2010View .profile-summary-metric--contacts .profile-summary-metric__accent{
  background:linear-gradient(90deg,transparent,#86c9aa 35%,transparent 74%)!important;
}
body[data-view="wall"] #wall2010View .profile-more-button{
  min-height:62px!important;
  padding:8px 4px!important;
  border:1px solid rgba(255,255,255,.055)!important;
  border-radius:15px!important;
  background:linear-gradient(180deg,#202020 0%,#1b1b1b 100%)!important;
  box-shadow:0 1px 0 rgba(255,255,255,.025) inset!important;
  color:#cfcfcf!important;
  font:700 10px/1 Geist,system-ui,sans-serif!important;
}
body[data-view="wall"] #wall2010View .profile-more-button:hover,
body[data-view="wall"] #wall2010View .profile-summary-metric:hover{
  background:linear-gradient(180deg,#242424 0%,#1e1e1e 100%)!important;
  border-color:rgba(255,255,255,.085)!important;
}
body[data-view="wall"] #wall2010View .profile-more-button__icon{
  color:#a9a9a9!important;
}

@media (max-width:760px){
  body[data-view="wall"] #wall2010View .profile-summary-row{
    grid-template-columns:minmax(0,1fr) minmax(0,1fr) 58px!important;
    gap:8px!important;
    max-width:none!important;
    margin-top:14px!important;
  }
  body[data-view="wall"] #wall2010View .profile-summary-metric{
    grid-template-columns:32px minmax(0,1fr)!important;
    column-gap:8px!important;
    min-height:56px!important;
    padding:8px 10px!important;
    border-radius:13px!important;
  }
  body[data-view="wall"] #wall2010View .profile-summary-metric__icon{
    width:30px!important;
    height:30px!important;
    border-radius:10px!important;
  }
  body[data-view="wall"] #wall2010View .profile-summary-metric__icon svg{
    width:16px!important;
    height:16px!important;
  }
  body[data-view="wall"] #wall2010View .profile-summary-metric__copy strong{
    font-size:17px!important;
  }
  body[data-view="wall"] #wall2010View .profile-summary-metric__copy > span{
    margin-top:4px!important;
    font-size:10px!important;
  }
  body[data-view="wall"] #wall2010View .profile-more-button{
    min-height:56px!important;
    border-radius:13px!important;
    font-size:9.5px!important;
  }
}


/* v905 — stats are info blocks with outline, not filled buttons */
body[data-view="wall"] #wall2010View .profile-summary-metric{
  background:transparent!important;
  border:1px solid #343434!important;
  box-shadow:none!important;
}
body[data-view="wall"] #wall2010View .profile-summary-metric:hover{
  background:transparent!important;
  border-color:#3f3f3f!important;
}
body[data-view="wall"] #wall2010View .profile-summary-metric__icon{
  background:transparent!important;
  border:0!important;
}
body[data-view="wall"] #wall2010View .profile-summary-metric__accent{
  display:none!important;
}
body[data-view="wall"] #wall2010View .profile-summary-metric__copy strong{
  color:#f1f1f1!important;
}
body[data-view="wall"] #wall2010View .profile-summary-metric__copy > span{
  color:#989898!important;
}
body[data-view="wall"] #wall2010View .profile-more-button{
  background:transparent!important;
  border:1px solid #343434!important;
  box-shadow:none!important;
}
body[data-view="wall"] #wall2010View .profile-more-button:hover{
  background:rgba(255,255,255,.02)!important;
  border-color:#424242!important;
}


/* v906 — metrics are informational, not cards: no outline; rename Рейт -> Рейтинг */
body[data-view="wall"] #wall2010View .profile-summary-metric{
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
  padding-left:4px!important;
  padding-right:4px!important;
}
body[data-view="wall"] #wall2010View .profile-summary-metric:hover{
  border:0!important;
  background:transparent!important;
  box-shadow:none!important;
}


/* v907 — separators for profile metrics + text-like Add to personal control */
body[data-view="wall"] #wall2010View .profile-summary-row{
  position:relative!important;
  display:grid!important;
  grid-template-columns:minmax(0,1fr) minmax(0,1fr) 82px!important;
  gap:0!important;
  max-width:620px!important;
  margin:18px auto 0!important;
}
body[data-view="wall"] #wall2010View .profile-summary-metric{
  position:relative!important;
  min-height:56px!important;
  padding:7px 18px!important;
}
body[data-view="wall"] #wall2010View .profile-summary-metric--contacts::before,
body[data-view="wall"] #wall2010View .profile-more-wrap::before{
  content:""!important;
  position:absolute!important;
  left:0!important;
  top:11px!important;
  bottom:11px!important;
  width:1px!important;
  background:#313131!important;
}
body[data-view="wall"] #wall2010View .profile-more-wrap{
  position:relative!important;
  padding-left:10px!important;
}
body[data-view="wall"] #wall2010View .profile-more-button{
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
}
body[data-view="wall"] #wall2010View .profile-more-button:hover{
  border:0!important;
  background:transparent!important;
  color:#fff!important;
}

body[data-view="wall"] #wall2010View .profile-add-personal{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:8px!important;
  width:auto!important;
  min-height:0!important;
  margin:13px auto 0!important;
  padding:0!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
  color:#d5d5d5!important;
  font:650 13px/1.2 Geist,system-ui,sans-serif!important;
  cursor:pointer!important;
}
body[data-view="wall"] #wall2010View .profile-add-personal:hover{
  color:#fff!important;
  background:transparent!important;
}
body[data-view="wall"] #wall2010View .profile-add-personal__plus{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:18px!important;
  height:18px!important;
  border:1px solid #555!important;
  border-radius:50%!important;
  color:#e8e8e8!important;
  font:500 15px/16px Geist,system-ui,sans-serif!important;
}

/* composer card is hidden while collapsed; the opener now lives under profile metrics */
body[data-view="wall"] #wall2010View #wall2010ComposerCard:not(.is-composer-open){
  display:none!important;
}
body[data-view="wall"] #wall2010View #wall2010ComposerCard.is-composer-open{
  display:block!important;
}

@media (max-width:760px){
  body[data-view="wall"] #wall2010View .profile-summary-row{
    max-width:none!important;
    grid-template-columns:minmax(0,1fr) minmax(0,1fr) 68px!important;
    margin-top:14px!important;
  }
  body[data-view="wall"] #wall2010View .profile-summary-metric{
    min-height:52px!important;
    padding:6px 10px!important;
  }
  body[data-view="wall"] #wall2010View .profile-summary-metric--contacts::before,
  body[data-view="wall"] #wall2010View .profile-more-wrap::before{
    top:10px!important;
    bottom:10px!important;
  }
  body[data-view="wall"] #wall2010View .profile-add-personal{
    margin-top:11px!important;
    font-size:12.5px!important;
  }
}


/* v908 — center “Добавить в личное” and add a subtle avatar outline */
body[data-view="wall"] #wall2010View .profile-add-personal{
  display:flex!important;
  justify-content:center!important;
  align-items:center!important;
  width:100%!important;
  text-align:center!important;
  margin:14px auto 0!important;
}
body[data-view="wall"] #wall2010View .wall2010-avatar{
  border:2px solid #2f3238!important;
  box-shadow:0 0 0 1px rgba(255,255,255,.04)!important;
}
@media (max-width:760px){
  body[data-view="wall"] #wall2010View .profile-add-personal{
    margin-top:12px!important;
  }
  body[data-view="wall"] #wall2010View .wall2010-avatar{
    border-width:2px!important;
  }
}


/* v909 — make “Добавить в личное” feel attached to the metrics block */
body[data-view="wall"] #wall2010View .profile-add-personal{
  position:relative!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:min(100%,620px)!important;
  margin:10px auto 0!important;
  padding:12px 0 0!important;
  text-align:center!important;
}
body[data-view="wall"] #wall2010View .profile-add-personal::before{
  content:""!important;
  position:absolute!important;
  top:0!important;
  left:50%!important;
  transform:translateX(-50%)!important;
  width:100%!important;
  height:1px!important;
  background:#262626!important;
}
body[data-view="wall"] #wall2010View .profile-add-personal__plus{
  border-color:#4e4e4e!important;
  color:#ededed!important;
}
@media (max-width:760px){
  body[data-view="wall"] #wall2010View .profile-add-personal{
    width:100%!important;
    margin-top:9px!important;
    padding-top:10px!important;
  }
}


/* v910 — replace attached add-personal row with a single outlined Share button */
body[data-view="wall"] #wall2010View .profile-share-button,
body[data-view="wall"] #wall2010View .profile-add-personal.profile-share-button{
  position:relative!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:min(100%,620px)!important;
  min-height:66px!important;
  margin:16px auto 0!important;
  padding:0 18px!important;
  border:1px solid #3a3a3a!important;
  border-radius:20px!important;
  background:transparent!important;
  box-shadow:none!important;
  color:#f1f1f1!important;
  font:700 20px/1 Geist,system-ui,sans-serif!important;
  text-align:center!important;
}
body[data-view="wall"] #wall2010View .profile-share-button::before,
body[data-view="wall"] #wall2010View .profile-add-personal.profile-share-button::before{
  content:none!important;
}
body[data-view="wall"] #wall2010View .profile-share-button:hover,
body[data-view="wall"] #wall2010View .profile-add-personal.profile-share-button:hover{
  background:rgba(255,255,255,.015)!important;
  border-color:#4a4a4a!important;
  color:#fff!important;
}
body[data-view="wall"] #wall2010View .profile-share-button .profile-add-personal__plus,
body[data-view="wall"] #wall2010View .profile-add-personal.profile-share-button .profile-add-personal__plus{
  display:none!important;
}
@media (max-width:760px){
  body[data-view="wall"] #wall2010View .profile-share-button,
  body[data-view="wall"] #wall2010View .profile-add-personal.profile-share-button{
    width:100%!important;
    min-height:58px!important;
    margin-top:14px!important;
    border-radius:18px!important;
    font-size:18px!important;
  }
}


/* v911 — restore + icon and “Добавить в личное”, keep the outlined control compact */
body[data-view="wall"] #wall2010View .profile-share-button,
body[data-view="wall"] #wall2010View .profile-add-personal.profile-share-button{
  width:min(100%,520px)!important;
  min-height:44px!important;
  margin-top:14px!important;
  padding:0 16px!important;
  gap:9px!important;
  border-radius:14px!important;
  font:650 14px/1 Geist,system-ui,sans-serif!important;
}
body[data-view="wall"] #wall2010View .profile-share-button .profile-add-personal__plus,
body[data-view="wall"] #wall2010View .profile-add-personal.profile-share-button .profile-add-personal__plus{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:18px!important;
  height:18px!important;
  border:1px solid #555!important;
  border-radius:50%!important;
  color:#ededed!important;
  font:500 15px/16px Geist,system-ui,sans-serif!important;
}
@media (max-width:760px){
  body[data-view="wall"] #wall2010View .profile-share-button,
  body[data-view="wall"] #wall2010View .profile-add-personal.profile-share-button{
    width:min(100%,420px)!important;
    min-height:42px!important;
    margin-top:12px!important;
    border-radius:13px!important;
    font-size:13px!important;
  }
}


/* v912 — visually join profile card with tabs/feed card; remove black gap */
@media (min-width:761px){
  body[data-view="wall"] #wall2010View .wall2010-side + .wall2010-main{
    margin-top:-16px!important;
  }
  body[data-view="wall"] #wall2010View .wall2010-profile{
    border-radius:22px 22px 0 0!important;
    padding-bottom:28px!important;
  }
  body[data-view="wall"] #wall2010View .wall2010-main{
    border-top:0!important;
    border-radius:0 0 20px 20px!important;
    background:#181818!important;
  }
  body[data-view="wall"] #wall2010View .threads-profile-tabs{
    margin-top:0!important;
    border-top:0!important;
    background:#181818!important;
  }
}

@media (max-width:760px){
  body[data-view="wall"] #wall2010View .wall2010-side + .wall2010-main{
    margin-top:-10px!important;
  }
  body[data-view="wall"] #wall2010View .wall2010-profile{
    border-radius:18px 18px 0 0!important;
  }
  body[data-view="wall"] #wall2010View .wall2010-main{
    border-top:0!important;
    border-radius:0 0 16px 16px!important;
    background:#181818!important;
  }
  body[data-view="wall"] #wall2010View .threads-profile-tabs{
    margin-top:0!important;
    border-top:0!important;
    background:#181818!important;
  }
}


/* v913 — use the supplied 3D transparent icons for Rating / Contacts */
body[data-view="wall"] #wall2010View .profile-summary-metric__icon--image{
  width:42px!important;
  height:42px!important;
  flex:0 0 42px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  color:inherit!important;
}
body[data-view="wall"] #wall2010View .profile-summary-metric__icon--image img{
  display:block!important;
  width:100%!important;
  height:100%!important;
  object-fit:contain!important;
  object-position:center!important;
  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
}
body[data-view="wall"] #wall2010View .profile-summary-metric--rate .profile-summary-metric__icon--image,
body[data-view="wall"] #wall2010View .profile-summary-metric--contacts .profile-summary-metric__icon--image{
  color:inherit!important;
}
@media (max-width:760px){
  body[data-view="wall"] #wall2010View .profile-summary-metric__icon--image{
    width:34px!important;
    height:34px!important;
    flex-basis:34px!important;
  }
}


/* v915 — personal/wall must use the same compact VK-reference sidebar geometry */
@media (min-width:981px){
  body.has-site-header[data-view="wall"] .ksan-shell,
  body.has-site-header[data-view="personal"] .ksan-shell{
    grid-template-columns:164px minmax(0,860px)!important;
    column-gap:18px!important;
    justify-content:center!important;
    padding:20px 24px 56px!important;
    left:0!important;
  }
  body.has-site-header[data-view="wall"] #appSidebar,
  body.has-site-header[data-view="personal"] #appSidebar{
    width:164px!important;
    min-width:164px!important;
    max-width:164px!important;
    top:88px!important;
    height:calc(100dvh - 102px)!important;
  }
  #appSidebar .ksan-sidebar__nav{gap:2px!important}
  #appSidebar .ksan-sidebar__item{
    height:40px!important;
    min-height:40px!important;
    padding:0 9px!important;
    gap:9px!important;
    border-radius:8px!important;
    font:520 14px/1.15 Geist,system-ui,sans-serif!important;
  }
  #appSidebar .ksan-sidebar__item.is-active{font-weight:640!important;background:rgba(255,255,255,.055)!important}
  #appSidebar .ksan-sidebar__icon,
  #appSidebar .ksan-sidebar__icon img{
    width:24px!important;height:24px!important;min-width:24px!important;min-height:24px!important;max-width:24px!important;max-height:24px!important;flex:0 0 24px!important;
  }
  #appSidebar .ksan-sidebar__label{font-size:14px!important;line-height:1.15!important}
}


/* v916 — personal page width and rail placement matched to VK reference screenshot */
@media (min-width:981px){
  body.has-site-header[data-view="wall"] .ksan-shell,
  body.has-site-header[data-view="personal"] .ksan-shell{
    grid-template-columns:224px 540px!important;
    column-gap:14px!important;
    justify-content:center!important;
    padding:20px 20px 56px!important;
  }
  body.has-site-header[data-view="wall"] #appSidebar,
  body.has-site-header[data-view="personal"] #appSidebar{
    width:176px!important;
    min-width:176px!important;
    max-width:176px!important;
    justify-self:end!important;
  }
  body[data-view="wall"] .ksan-main,
  body[data-view="personal"] .ksan-main{
    width:540px!important;
    max-width:540px!important;
    min-width:0!important;
  }
  body[data-view="wall"] #wall2010View,
  body[data-view="personal"] #wall2010View{
    width:540px!important;
    max-width:540px!important;
  }
  body[data-view="wall"] #wall2010View .wall2010-profile,
  body[data-view="personal"] #wall2010View .wall2010-profile{
    padding-left:22px!important;
    padding-right:22px!important;
  }
}

/* v917 — restore wider content area while keeping the VK-like centered geometry */
@media (min-width:981px){
  body.has-site-header[data-view="wall"] .ksan-shell,
  body.has-site-header[data-view="personal"] .ksan-shell{
    grid-template-columns: 188px minmax(720px, 860px) !important;
    column-gap: 16px !important;
    justify-content: center !important;
    padding: 20px 24px 56px !important;
  }
  body.has-site-header[data-view="wall"] #appSidebar,
  body.has-site-header[data-view="personal"] #appSidebar{
    width: 180px !important;
    min-width: 180px !important;
    max-width: 180px !important;
    justify-self: end !important;
  }
  body[data-view="wall"] .ksan-main,
  body[data-view="personal"] .ksan-main,
  body[data-view="wall"] #wall2010View,
  body[data-view="personal"] #wall2010View{
    width: 100% !important;
    max-width: 860px !important;
    min-width: 0 !important;
  }
  body[data-view="wall"] #wall2010View .wall2010-profile,
  body[data-view="personal"] #wall2010View .wall2010-profile{
    padding-left: 26px !important;
    padding-right: 26px !important;
  }
}


/* v918 — final desktop sidebar cleanup after v915/v916 conflicts */
@media (min-width:981px){
  body.has-site-header[data-view="wall"] .ksan-shell,
  body.has-site-header[data-view="personal"] .ksan-shell{
    grid-template-columns: 168px minmax(760px,860px)!important;
    column-gap: 14px!important;
    justify-content:center!important;
    padding:20px 24px 56px!important;
  }
  body.has-site-header[data-view="wall"] #appSidebar,
  body.has-site-header[data-view="personal"] #appSidebar{
    width:156px!important;
    min-width:156px!important;
    max-width:156px!important;
    justify-self:end!important;
    top:92px!important;
  }
  body[data-view="wall"] .ksan-main,
  body[data-view="personal"] .ksan-main,
  body[data-view="wall"] #wall2010View,
  body[data-view="personal"] #wall2010View{
    width:100%!important;
    max-width:860px!important;
  }

  #appSidebar .ksan-sidebar__dock,
  #appSidebar .ksan-sidebar__nav{width:156px!important}
  #appSidebar .ksan-sidebar__nav{gap:1px!important}
  #appSidebar .ksan-sidebar__nav .ksan-sidebar__item{
    height:34px!important;
    min-height:34px!important;
    padding:0 7px!important;
    gap:7px!important;
    border-radius:7px!important;
    font:520 12.5px/1.1 Geist,system-ui,sans-serif!important;
  }
  #appSidebar .ksan-sidebar__nav .ksan-sidebar__item:has(.ksan-sidebar__badge:not([hidden])){padding-right:30px!important}
  #appSidebar .ksan-sidebar__nav .ksan-sidebar__icon,
  #appSidebar .ksan-sidebar__nav .ksan-sidebar__icon img{
    width:19px!important;height:19px!important;
    min-width:19px!important;min-height:19px!important;
    max-width:19px!important;max-height:19px!important;
    flex:0 0 19px!important;
  }
  #appSidebar .ksan-sidebar__nav .ksan-sidebar__label{
    display:block!important;
    font-size:12.5px!important;
    line-height:1.1!important;
    white-space:nowrap!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
  }
  #appSidebar .ksan-sidebar__nav .ksan-sidebar__item.is-active{
    background:rgba(255,255,255,.035)!important;
    font-weight:650!important;
  }
  #appSidebar .ksan-sidebar__nav .ksan-sidebar__item.is-active::before{
    left:0!important;width:2px!important;height:16px!important;background:#e9e9ec!important;
  }
  #appSidebar .ksan-sidebar__nav .ksan-sidebar__badge{
    right:6px!important;
    min-width:17px!important;height:17px!important;padding:0 4px!important;
    border-radius:999px!important;
    font:700 10px/1 Geist,Arial,sans-serif!important;
  }

  /* followers stay, but no longer dominate the nav */
  #appSidebar .ksan-sidebar__followers{
    width:156px!important;
    max-height:106px!important;
    padding:7px 7px 8px!important;
    border-top:1px solid #1c2025!important;
    border-bottom:1px solid #1c2025!important;
  }
  #appSidebar .ksan-sidebar__followers-head{height:20px!important;min-height:20px!important;font-size:11px!important}
  #appSidebar .ksan-sidebar__followers-title{font-size:11px!important}
  #appSidebar .ksan-sidebar__followers-count{font-size:10px!important}
  #appSidebar .ksan-sidebar__followers-row{height:30px!important;gap:5px!important;margin:6px 0 5px!important}
  #appSidebar .ksan-sidebar__followers-person,
  #appSidebar .ksan-sidebar__followers-person .cx-avatar,
  #appSidebar .ksan-sidebar__followers-person img.cx-avatar,
  #appSidebar .ksan-sidebar__followers-person span.cx-avatar{
    width:28px!important;height:28px!important;
    min-width:28px!important;min-height:28px!important;
    max-width:28px!important;max-height:28px!important;
    flex:0 0 28px!important;border-radius:8px!important;
  }
  #appSidebar .ksan-sidebar__followers-more{font-size:10.5px!important;height:18px!important;min-height:18px!important}
}
