/* Discover: reference-led density without removing source or order controls. */
.cell-lounge,.ui-quick-buy,.ui-row-buy{display:none}
body #main .token-table .cell-lounge{display:none!important}
.ui-mobile-list-settings{display:none}
.ui-pinned-strip{display:flex;gap:10px;overflow-x:auto;scrollbar-width:none;padding:0 115px 0 0;margin:0 0 12px;min-height:68px}
.ui-pinned-card{display:flex;flex-direction:column;justify-content:center;gap:5px;flex:0 0 198px;min-height:64px;padding:9px 12px;border:1px solid #2c3b34;border-radius:12px;background:#101713;text-decoration:none;color:#f3f7f5}
.ui-pinned-card>span{display:flex;align-items:center;gap:8px;min-width:0}.ui-pinned-card img{border-radius:50%;object-fit:cover;flex:none}.ui-pinned-card b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px}.ui-pin-star{margin-left:auto;color:#e2bc69}.ui-pinned-card small{color:#9ab0a5;font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body #main:has(.ui-pinned-strip)>.focus-card{display:none!important}
body #main:has(.ui-pinned-strip){position:relative}
[data-price-pending=true]{font-size:11px!important;font-weight:500!important;color:#a7b4ae!important;letter-spacing:0}
.ui-lounge-open{display:flex;flex-direction:column;justify-content:center;gap:5px;width:100%;min-width:0;min-height:46px;padding:3px 5px;text-align:left;background:transparent;border:0;overflow:hidden}
.ui-lounge-author{display:flex;align-items:center;gap:6px;min-width:0;max-width:100%;height:18px}.ui-lounge-author img{width:18px;height:18px;flex:none;border-radius:50%;object-fit:cover}.ui-lounge-author b{color:#f3f7f5;font-size:12px;font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ui-lounge-take{display:block;max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#9ab0a5;font-size:12px;font-weight:400}.ui-drop-take{display:none}.token:hover .ui-drop-take,.ui-lounge-open:focus-visible .ui-drop-take{display:inline}.token:hover .ui-lounge-empty,.ui-lounge-open:focus-visible .ui-lounge-empty{display:none}
@media(min-width:761px){
 body #main:has(.ui-pinned-strip)>.toolbar{position:absolute;right:28px;top:0;height:68px;margin:0;justify-content:flex-end}
 body #main:has(.ui-pinned-strip)>.toolbar h1{display:none}
 body:has(.discover-tabstrip) #ui-token-nav-toggle{display:flex;align-items:center;justify-content:center;position:fixed;left:16px;top:76px;width:44px;height:44px;min-height:44px;padding:0;border:1px solid #293b35;border-radius:10px;background:#101a17;color:#c2d7cd;font-size:26px;z-index:21}
 body:has(.discover-tabstrip) #sidebar{padding-top:66px!important}
 body:has(.discover-tabstrip):not([data-ui-sidebar-expanded=true]) #sidebar{width:76px!important;flex-basis:76px!important;padding-inline:6px!important}
 body:has(.discover-tabstrip):not([data-ui-sidebar-expanded=true]) #sidebar>.side-modules{display:none!important}
 body:has(.discover-tabstrip):not([data-ui-sidebar-expanded=true]) #sidebar>button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;min-height:58px;padding:6px 0;font-size:10px;text-align:center;white-space:nowrap}
 body:has(.discover-tabstrip):not([data-ui-sidebar-expanded=true]) #sidebar>button .navicon{display:flex;align-items:center;justify-content:center;width:28px;height:24px;margin:0;font-size:18px}
 body #main .token-table .row-star{display:inline-flex!important;align-items:center;justify-content:center;width:28px;min-width:28px;height:28px;min-height:28px;padding:0;color:#a8bab0}
}
@media(min-width:1024px){
 body #main .token-table:has(.cell-lounge){--list-grid:minmax(230px,1fr) 38px 76px 78px 55px 85px 96px 76px 84px 210px!important;--list-gap:8px!important}
 body #main .token-table:has(.cell-lounge) :is(.token,.columnheads){grid-template-columns:var(--list-grid)!important;gap:8px!important}
 body #main .token-table:has(.cell-lounge) .cell-lounge{display:block!important;width:210px!important;min-width:210px!important;max-width:210px!important;overflow:hidden!important;text-align:left!important}
 body #main .token-table .columnheads>.cell-token{display:flex!important;align-items:center;gap:6px;white-space:nowrap}
 body #main .token-table .columnheads>.cell-token>.column-info{display:none}
 body #main .ui-quick-buy{display:inline-flex;align-items:center;gap:4px;font-size:10px;color:#aebcb4;font-weight:500;margin-left:auto}
 body #main .ui-quick-buy input{width:46px;height:28px;min-height:28px;padding:2px 4px;border-radius:6px;font-size:11px;appearance:textfield}
 body #main .token-table .ui-row-buy{display:inline-flex;align-items:center;justify-content:center;width:28px;min-width:28px;height:28px;min-height:28px;padding:0;color:#e5c779}
 body #main .token-table .token-name-line{gap:3px!important}
}
@media(min-width:1024px) and (max-width:1279px){
 body #main .token-table:has(.cell-lounge){--list-grid:minmax(220px,1fr) 76px 76px 90px 70px 72px 210px!important}
 body #main .token-table:has(.cell-lounge) :is(.cell-age,.cell-holders,.cell-cap){display:none!important}
}
@media(min-width:1280px){
 body[data-ui-sidebar-expanded=true] #main .token-table:has(.cell-lounge){--list-grid:minmax(220px,1fr) 76px 78px 85px 96px 76px 84px 210px!important}
 body[data-ui-sidebar-expanded=true] #main .token-table:has(.cell-lounge) :is(.cell-age,.cell-holders){display:none!important}
}
@media(max-width:760px){
 body #main .ui-pinned-strip{min-height:44px;margin:0 0 5px;padding:0;gap:7px}
 body #main .ui-pinned-card{flex-basis:158px;min-height:44px;padding:3px 8px;gap:1px;border-radius:9px}
 body #main .ui-pinned-card img{width:20px;height:20px}.ui-pinned-card small{font-size:10px}
 body #main:has(.ui-pinned-strip)>.toolbar{display:none!important}
 .ui-mobile-list-settings{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:12px}
 body #main .token-table .token{height:76px!important;min-height:76px!important;max-height:76px!important;grid-template-rows:32px 32px!important;padding:5px 6px!important}
 body #main .token-table .token>.cell-token{height:64px!important;min-height:64px!important;max-height:64px!important;position:static!important}
 body #main .token-table .token .token-label{height:64px!important;max-height:64px!important;padding-top:0!important;position:static!important}
 body #main .token-table .token .token-name-line{height:26px!important;min-height:26px!important;max-height:26px!important}
 body #main .token-table .token>.cell-safety{top:31px!important;width:calc(100% - 238px)!important}
 body #main .token-table .token .row-star{display:flex!important;position:absolute!important;left:calc(100% - 170px);top:31px;align-items:center;justify-content:center;width:44px!important;min-width:44px!important;height:44px!important;min-height:44px!important;padding:0!important;font-size:17px;background:transparent;color:#afc4b7}
 body #main .token-table .token .row-star[aria-pressed=true]{color:#e2bc69}
 body #main .token-table .token .grad-bar{margin-top:28px!important;height:3px!important}
 body #nav.bottomnav{height:52px!important;min-height:52px!important;padding:2px 6px!important}
 body #nav.bottomnav>button{height:48px!important;min-height:48px!important;padding:2px!important;font-size:10px!important}
 body #ticker,body.has-inline-trade #ticker{height:44px!important;min-height:44px!important;max-height:44px!important;padding-right:54px!important}
 body:has(.discover-tabstrip) .ui-chat-widget{width:44px!important;max-width:44px!important;right:6px!important}
 body:has(.discover-tabstrip) .ui-chat-widget .ui-chat-launch{width:44px!important;height:44px!important;min-height:44px!important;padding:4px!important}
 body:has(.discover-tabstrip) .ui-chat-widget .ui-chat-launch img{width:32px!important;height:32px!important}
}

body #main .ui-pinned-card{align-items:stretch!important;text-align:left!important;min-width:0!important}
body #main .ui-pinned-card>span{justify-content:flex-start!important;min-width:0!important;width:100%!important}
body #main .ui-pinned-card small{display:block!important;width:100%!important;min-width:0!important;max-width:100%!important;text-align:left!important;font-size:11px!important;line-height:15px!important;overflow:hidden!important;text-overflow:ellipsis!important}
body #main .token-table .token .cell-price [data-price-pending=true]{font-size:11px!important;font-weight:500!important;color:#a7b4ae!important}
@media(max-width:760px){body #main .ui-pinned-card small{font-size:10px!important;line-height:13px!important}}

@media(min-width:761px){
 body:has(.discover-tabstrip) .ui-chat-widget{left:16px!important;right:auto!important;bottom:48px!important;width:44px!important;max-width:44px!important}
 body:has(.discover-tabstrip) .ui-chat-launch{width:44px!important;min-width:44px!important;height:44px!important;padding:5px!important;font-size:0!important;gap:0!important}
 body:has(.discover-tabstrip) .ui-chat-launch img{width:30px!important;height:30px!important}
 body:has(.discover-tabstrip) .ui-chat-launch span{display:none!important}
 body:has(.discover-tabstrip) .ui-chat-panel{left:0!important;right:auto!important;width:340px!important;max-width:calc(100vw - 32px)!important}
}

/* Give SOL amounts and volume their own readable gutter on a full desktop. */
@media(min-width:1360px){body:not([data-ui-sidebar-expanded=true]) #main .token-table:has(.cell-lounge){--list-grid:minmax(230px,1fr) 38px 94px 94px 55px 92px 100px 80px 84px 210px!important}}
