/* Shared mobile entry, owned and cleaned up by the main-page dock. */
html.ru-home-tools-header .ru-home-mobile-tool-entry{display:none!important}
@media(max-width:700px){
  html.ru-home-tools-header.ru-journey .ru-journey-mast{grid-template-columns:minmax(0,1fr) 36px 60px!important;gap:4px 8px!important}
  html.ru-home-tools-header.ru-journey .ru-journey-mast .ru-sidebar-logo{min-width:0!important;grid-column:1!important;grid-row:1!important}
  html.ru-home-tools-header.ru-journey .ru-journey-mast .ru-sidebar-logo .brand-copy{min-width:0!important}
  html.ru-home-tools-header.ru-journey .ru-journey-mast .ru-sidebar-logo .name{font-size:18px!important;white-space:nowrap!important;letter-spacing:0!important}
  html.ru-home-tools-header.ru-journey .ru-journey-mast .ru-sidebar-logo .cn{font-size:9px!important;letter-spacing:0!important}
  html.ru-home-tools-header.ru-journey .ru-journey-mast .ru-sidebar-logo .mark{width:30px!important;height:36px!important}
  html.ru-home-tools-header.ru-journey .ru-journey-mast .ru-journey-search{grid-column:1!important;grid-row:2!important;min-width:0!important}
  html.ru-home-tools-header.ru-journey .ru-journey-mast .ru-journey-account{grid-column:3!important;grid-row:1/3!important;width:60px!important;min-width:0!important}
  html.ru-home-tools-header.ru-journey .ru-journey-mast .ru-journey-account .ru-account-profile-entry,
  html.ru-home-tools-header.ru-journey .ru-journey-mast .ru-journey-account .ru-nav-item[data-id=account]{width:60px!important;max-width:60px!important;min-width:0!important}
  html.ru-home-tools-header.ru-journey .ru-journey-mast .ru-home-mobile-tool-entry{display:flex!important;flex-direction:column;align-items:center;justify-content:center;gap:5px;grid-column:2;grid-row:1/3;align-self:center;min-height:60px;width:36px;color:#2459D8;font:500 10px/1.4 -apple-system,BlinkMacSystemFont,"Segoe UI","Microsoft YaHei",sans-serif;text-decoration:none;border:0;background:transparent}
  html.ru-home-tools-header .ru-home-mobile-tool-entry svg{display:block;width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.3;stroke-linecap:round;stroke-linejoin:round}
  html.ru-home-tools-header .ru-home-mobile-tool-entry:focus-visible{outline:2px solid #2459D8;outline-offset:2px}
  html.ru-home-tools-header .ru-glass-rail__tool{display:none!important}
}
@media(max-width:350px){
  html.ru-home-tools-header.ru-journey .ru-journey-mast{padding-inline:12px!important;grid-template-columns:minmax(0,1fr) 34px 54px!important;gap:4px 6px!important}
  html.ru-home-tools-header.ru-journey .ru-journey-mast .ru-sidebar-logo{gap:7px!important}
  html.ru-home-tools-header.ru-journey .ru-journey-mast .ru-journey-account,
  html.ru-home-tools-header.ru-journey .ru-journey-mast .ru-journey-account .ru-account-profile-entry,
  html.ru-home-tools-header.ru-journey .ru-journey-mast .ru-journey-account .ru-nav-item[data-id=account]{width:54px!important;max-width:54px!important}
}
