/* User entry is distinct from navigation; default 6–7 character names fit. */
/* Center against the whole visible slot, not a button followed by trailing space. */
@media(min-width:1101px){
  html.visitor-v2[data-ru-theme] .ru-sidebar .ru-sidebar-nav{padding-right:0!important;}
}
@media(min-width:901px) and (max-width:1100px){
  html.visitor-v2[data-ru-theme] .ru-sidebar .ru-sidebar-nav .ru-nav-item[data-id="account"].ru-account-profile-entry{right:14px!important;}
}
html.visitor-v2[data-ru-theme] .ru-sidebar .ru-sidebar-nav .ru-nav-item[data-id="account"]{
  box-sizing:border-box!important;width:88px!important;min-width:88px!important;max-width:88px!important;flex:0 0 88px!important;
  margin:0!important;padding:0 6px!important;overflow:hidden!important;
}
html.visitor-v2[data-ru-theme] .ru-sidebar :is(.ru-nav-item[data-id="account"],.ru-account-mobile-entry) .label{
  display:block!important;box-sizing:border-box!important;width:100%!important;min-width:0!important;max-width:100%!important;
  margin:0!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;text-align:center!important;
}
#ruMemberAccountDialog .ru-account-full-nickname{margin:10px 0 16px;font-size:12px;line-height:1.8;color:var(--ru-muted,#647086);white-space:normal;overflow-wrap:anywhere;word-break:normal}
#ruMemberAccountDialog .ru-account-full-nickname strong{font:inherit;color:var(--ru-ink,#172b4d)}
@media(max-width:1100px){
  html.visitor-v2[data-ru-theme] .ru-sidebar .ru-sidebar-nav .ru-nav-item[data-id="account"]{width:84px!important;min-width:84px!important;max-width:84px!important;flex-basis:84px!important;margin:0!important;padding:0 4px!important;}
  html.visitor-v2[data-ru-theme] .ru-sidebar .ru-sidebar-nav .ru-nav-item[data-id="apply"]{right:112px!important;}
}
@media(max-width:900px){
  html.visitor-v2[data-ru-theme] .ru-sidebar .ru-account-mobile-entry{box-sizing:border-box!important;width:76px!important;min-width:76px!important;max-width:76px!important;padding:0 4px!important;overflow:hidden!important;}
  html.visitor-v2[data-ru-theme] .ru-sidebar .ru-sidebar-nav .ru-nav-item[data-id="apply"]{right:100px!important;}
}

html.visitor-v2[data-ru-theme] .ru-sidebar :is(.ru-sidebar-nav .ru-nav-item[data-id="account"],.ru-account-mobile-entry).ru-account-profile-entry{
  display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;align-self:center!important;gap:4px!important;text-align:center!important;
  box-sizing:border-box!important;width:88px!important;min-width:88px!important;max-width:88px!important;flex:0 0 88px!important;
  height:75px!important;min-height:75px!important;padding:5px 7px!important;border:0!important;border-radius:0!important;
  background:transparent!important;color:#e9f0fb!important;box-shadow:none!important;text-decoration:none!important;transform:none!important;
}
html.visitor-v2[data-ru-theme] .ru-sidebar .ru-account-profile-entry:is(:hover,:focus-visible,[aria-expanded="true"]){background:transparent!important;outline:0!important}
html.visitor-v2[data-ru-theme] .ru-sidebar .ru-account-profile-entry::before,html.visitor-v2[data-ru-theme] .ru-sidebar .ru-account-profile-entry::after{content:none!important;display:none!important}
html.visitor-v2[data-ru-theme] .ru-sidebar .ru-account-profile-entry .ru-account-avatar{
  display:grid!important;place-items:center!important;position:relative!important;flex:none!important;box-sizing:border-box!important;
  width:34px!important;height:34px!important;border:1px solid #9aafca!important;border-radius:50%!important;
  background:#223550!important;color:#f0f5ff!important;font:600 16px/1 "Segoe UI","Microsoft YaHei",sans-serif!important;
}
html.visitor-v2[data-ru-theme] .ru-sidebar .ru-account-profile-entry .ru-account-avatar svg{display:block!important;width:22px!important;height:22px!important;stroke:currentColor!important;fill:none!important}
html.visitor-v2[data-ru-theme] .ru-sidebar .ru-account-profile-entry .ru-account-avatar img{display:block;width:100%;height:100%;object-fit:cover;border-radius:inherit}
html.visitor-v2[data-ru-theme] .ru-sidebar .ru-account-profile-entry .ru-account-avatar[data-tone="1"]{background:#304357!important}
html.visitor-v2[data-ru-theme] .ru-sidebar .ru-account-profile-entry .ru-account-avatar[data-tone="2"]{background:#493e65!important}
html.visitor-v2[data-ru-theme] .ru-sidebar .ru-account-profile-entry .ru-account-avatar[data-tone="3"]{background:#31534f!important}
html.visitor-v2[data-ru-theme] .ru-sidebar .ru-account-profile-entry:is(:hover,:focus-visible,[aria-expanded="true"]) .ru-account-avatar{border-color:#dce8ff!important;box-shadow:0 0 0 2px rgba(132,173,255,.26)!important}
html.visitor-v2[data-ru-theme] .ru-sidebar :is(.ru-sidebar-nav .ru-nav-item[data-id="account"],.ru-account-mobile-entry).ru-account-profile-entry .label{display:block!important;position:static!important;flex:none!important;width:100%!important;max-width:100%!important;min-width:0!important;margin:0!important;border:0!important;color:#e9f0fb!important;font-weight:500!important;line-height:16px!important;letter-spacing:0!important;text-align:center!important;text-decoration:none!important}
@media(min-width:901px){
  html.visitor-v2[data-ru-theme] .ru-sidebar :is(.ru-sidebar-nav .ru-nav-item[data-id="account"],.ru-account-mobile-entry).ru-account-profile-entry:not(.ru-nav-item){display:none!important}
}
@media(max-width:1100px){
  html.visitor-v2[data-ru-theme] .ru-sidebar :is(.ru-sidebar-nav .ru-nav-item[data-id="account"],.ru-account-mobile-entry).ru-account-profile-entry{width:84px!important;min-width:84px!important;max-width:84px!important;flex-basis:84px!important;height:50px!important;min-height:50px!important;padding:2px 4px!important;gap:2px!important}
  html.visitor-v2[data-ru-theme] .ru-sidebar .ru-account-profile-entry .ru-account-avatar{width:28px!important;height:28px!important;font-size:14px!important}
  html.visitor-v2[data-ru-theme] .ru-sidebar .ru-account-profile-entry .ru-account-avatar svg{width:20px!important;height:20px!important}
  html.visitor-v2[data-ru-theme] .ru-sidebar .ru-account-profile-entry .label{line-height:14px!important}
  html.visitor-v2[data-ru-theme] .ru-sidebar .ru-sidebar-nav .ru-nav-item[data-id="apply"]{right:112px!important}
}
@media(max-width:900px){
  html.visitor-v2[data-ru-theme] .ru-sidebar .ru-sidebar-nav .ru-nav-item[data-id="account"].ru-account-profile-entry{display:none!important}
  html.visitor-v2[data-ru-theme] .ru-sidebar .ru-account-mobile-entry.ru-account-profile-entry{right:8px!important;width:76px!important;min-width:76px!important;max-width:76px!important;flex-basis:76px!important}
  html.visitor-v2[data-ru-theme] .ru-sidebar .ru-sidebar-nav .ru-nav-item[data-id="apply"]{right:100px!important}
}
