/* GLOBYR v29: pixel logo, landing hero, icon-only sidebar rail. */
img[src*="globyr-logo"],img[src*="globyr-orbit"]{object-fit:contain}
.g28-hero-actions,.g28-hero-note{display:none!important}

/* "All markets" gets a grid icon so the rail never shows an empty box */
#borrow-navigation [data-nav="all"]::before{content:'';flex:0 0 18px;width:18px;height:18px;background:currentColor;opacity:.85;
 -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect x='3' y='3' width='7.5' height='7.5' rx='1.6'/%3E%3Crect x='13.5' y='3' width='7.5' height='7.5' rx='1.6'/%3E%3Crect x='3' y='13.5' width='7.5' height='7.5' rx='1.6'/%3E%3Crect x='13.5' y='13.5' width='7.5' height='7.5' rx='1.6'/%3E%3C/svg%3E") center/contain no-repeat;
 mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect x='3' y='3' width='7.5' height='7.5' rx='1.6'/%3E%3Crect x='13.5' y='3' width='7.5' height='7.5' rx='1.6'/%3E%3Crect x='3' y='13.5' width='7.5' height='7.5' rx='1.6'/%3E%3Crect x='13.5' y='13.5' width='7.5' height='7.5' rx='1.6'/%3E%3C/svg%3E") center/contain no-repeat}
#borrow-navigation [data-nav="all"]{gap:10px}

/* Collapsed rail on desktop (menu collapsed) */
@media (min-width:801px){
 body.sidebar-collapsed .g24-group{margin:0}
 body.sidebar-collapsed .g24-group>summary{justify-content:center;gap:0;padding:7px 0;min-height:36px}
 body.sidebar-collapsed .g24-group>summary>span,body.sidebar-collapsed .g24-group>summary>i{display:none!important}
 body.sidebar-collapsed .g24-network-logo{width:22px;height:22px;min-width:22px;flex:0 0 22px;box-shadow:0 0 0 2px var(--line,rgba(255,255,255,.16))}
 body.sidebar-collapsed .g24-group[open]>summary .g24-network-logo{box-shadow:0 0 0 2px var(--accent)}
 body.sidebar-collapsed .g24-external>summary{min-height:22px;padding:10px 0}
 body.sidebar-collapsed .g24-external>summary::before{content:'';display:block;width:26px;height:1px;background:var(--line,rgba(255,255,255,.2))}
 body.sidebar-collapsed .g24-links{padding:0 0 4px;gap:1px}
 body.sidebar-collapsed .g24-links .nav-item{justify-content:center!important;gap:0!important;padding:8px 0!important;min-height:36px}
 body.sidebar-collapsed .g24-links .nav-item>.nav-label,body.sidebar-collapsed .g24-links .nav-count,body.sidebar-collapsed .g24-live,body.sidebar-collapsed .g24-arrow,body.sidebar-collapsed .g24-links .nav-abbr~.nav-label{display:none!important}
 body.sidebar-collapsed #borrow-navigation [data-nav="all"]{justify-content:center;gap:0}
 body.sidebar-collapsed #borrow-navigation [data-nav="all"]>*{display:none!important}
}
/* The same rail between 801px and 1040px, where the menu is always narrow */
@media (min-width:801px) and (max-width:1040px){
 .g24-group{margin:0}
 .g24-group>summary{min-height:36px;padding:7px 0;gap:0}
 .g24-group>summary>span{display:none!important}
 .g24-network-logo{width:22px;height:22px;min-width:22px;flex:0 0 22px;box-shadow:0 0 0 2px var(--line,rgba(255,255,255,.16))}
 .g24-group[open]>summary .g24-network-logo{box-shadow:0 0 0 2px var(--accent)}
 .g24-external>summary{min-height:22px;padding:10px 0}
 .g24-external>summary::before{content:'';display:block;width:26px;height:1px;background:var(--line,rgba(255,255,255,.2))}
 .g24-links .nav-item{min-height:36px;gap:0!important}
 .g24-links .nav-count{display:none!important}
 #borrow-navigation [data-nav="all"]{justify-content:center;gap:0}
 #borrow-navigation [data-nav="all"]>*{display:none!important}
}
