body.table-mobile-ref .mobile-table-switch .vip-pill,
body.table-mobile-ref .view-switch .vip-pill{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:24px;
  height:16px;
  padding:0 5px;
  border-radius:999px;
  font-size:9px;
  font-weight:700;
  letter-spacing:.05em;
  line-height:1;
  text-transform:uppercase;
  color:#5b3b00;
  background:#ffd76a;
  border:1px solid rgba(0,0,0,.08);
  vertical-align:middle;
}

body.dark.table-mobile-ref .mobile-table-switch .vip-pill,
body.dark.table-mobile-ref .view-switch .vip-pill{
  color:#1f2937;
  background:#fbbf24;
  border-color:rgba(255,255,255,.14);
}

body.table-mobile-ref .toolbar > #tokenFilter.token-search,
.toolbar-token-input-source{
  position:absolute !important;
  width:1px !important;
  height:1px !important;
  min-width:0 !important;
  max-width:1px !important;
  padding:0 !important;
  margin:0 !important;
  border:0 !important;
  opacity:0 !important;
  pointer-events:none !important;
}

.token-search-popover-wrap{
  position:relative;
  display:inline-flex;
  align-items:center;
  flex:0 0 auto;
  z-index:35;
}

.token-search-trigger{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  min-width:44px;
  height:34px;
  padding:0 12px;
  border-radius:12px;
}

.token-search-trigger-text{
  display:inline-block;
  max-width:120px;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  color:inherit;
}

.token-search-trigger.is-empty .token-search-trigger-text{
  display:none;
}

.token-search-popover{
  position:absolute;
  top:calc(100% + 8px);
  right:0;
  display:none;
  width:min(340px, calc(100vw - 24px));
  padding:10px;
  border:1px solid var(--input-border, #374151);
  border-radius:12px;
  background:var(--panel, #1b2028);
  box-shadow:0 18px 40px rgba(0,0,0,.34);
}

.token-search-popover-wrap.is-open .token-search-popover{
  display:block;
}

.token-search-popover-row{
  display:flex;
  align-items:center;
  gap:8px;
}

.token-search-popover-input{
  flex:1 1 auto;
  min-width:0;
  height:36px;
}

.token-search-popover-clear,
.token-search-popover-close{
  flex:0 0 auto;
  width:36px;
  height:36px;
  padding:0;
  border-radius:10px;
}

.table-toolbar-action{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:44px;
  min-width:44px;
  height:34px;
  padding:0;
  border-radius:12px;
  font-size:18px;
  line-height:1;
}

@media (max-width:640px){
  .token-search-popover{
    position:fixed;
    top:auto;
    left:12px;
    right:12px;
    bottom:16px;
    width:auto;
    z-index:1100;
  }

  .token-search-trigger{
    width:40px;
    min-width:40px;
    padding:0;
  }
}
