/* BitSan Lounge: an independent room; all chat styling stays inside its panels. */
body #main .cell-lounge .ui-lounge-empty{font-size:14px;opacity:.45}
body #main .cell-lounge .ui-drop-take{display:inline;font-weight:500;color:#80958a;font-size:11px}
body #main .cell-lounge .ui-lounge-open{gap:3px}
body #main .cell-lounge .ui-lounge-open:hover{background:#14201a;border-radius:8px}
body #main .cell-lounge .ui-lounge-open:hover .ui-drop-take{color:#c7eddb}
body #main .token-table .token>.cell-safety{overflow:visible!important}
@media(min-width:761px){
 body #main .token-table .cell-safety .coverage-button{box-sizing:border-box!important;width:100%!important;min-width:0!important;max-width:100%!important;padding:0 6px!important;gap:5px!important;min-height:32px!important;justify-content:flex-start!important;font-size:11px!important}
 body #main .token-table .cell-safety .coverage-symbol{flex:0 0 12px!important;width:12px!important;min-width:12px!important;height:12px!important;margin:0!important}
 body #main .token-table .cell-safety .finding-label{white-space:nowrap;font-size:11px!important;min-width:0}
 body #main .token-table .cell-safety .finding-more{display:none!important}
 body:has(.discover-tabstrip) #main{display:flex;flex-direction:column;height:calc(100dvh - 94px);min-height:0!important;overflow:hidden!important;padding-bottom:8px!important}
 body:has(.discover-tabstrip) #main>.ui-pinned-strip{flex-shrink:0;min-height:64px;margin-bottom:8px}
 body:has(.discover-tabstrip) #main>.discover-tabstrip,body:has(.discover-tabstrip) #main>.discover-filters,body:has(.discover-tabstrip) #main>.list-controls,body:has(.discover-tabstrip) #main>.ui-list-info{flex-shrink:0}
 body:has(.discover-tabstrip) #main>.token-table{flex:1;min-height:0!important;overflow-y:auto!important;overscroll-behavior:contain;scrollbar-gutter:stable}
 body:has(.discover-tabstrip) .token-table>.columnheads{position:sticky!important;top:0!important;z-index:5;background:#10171a!important}
 body:has(.discover-tabstrip) #main>.pager{position:relative!important;z-index:1!important;flex-shrink:0;min-height:40px;margin:4px 0 0!important;padding:0!important;align-items:center}
 body:has(.discover-tabstrip) #main>.pager button{min-height:36px;padding:4px 10px}
}
@media(max-width:760px){body:has(.discover-tabstrip) #main>.pager{position:relative!important;z-index:1!important;padding-bottom:16px!important;margin-bottom:104px!important}}
body .ui-chat-panel,body .ui-token-chat-panel{
 position:fixed!important;left:auto!important;right:16px!important;top:auto!important;bottom:48px!important;
 width:min(410px,calc(100vw - 32px))!important;max-width:none!important;height:min(680px,calc(100dvh - 126px))!important;
 margin:0!important;padding:0!important;border:1px solid #365046!important;border-radius:20px!important;
 background:#101815!important;box-shadow:0 24px 70px #0009!important;z-index:50!important;isolation:isolate;
}
body :is(.ui-chat-panel,.ui-token-chat-panel) .ui-chat-head{flex:none;min-height:76px;padding:12px 14px;background:linear-gradient(125deg,#1b3024,#111c18);border-bottom:1px solid #293b31;gap:12px}
body :is(.ui-chat-panel,.ui-token-chat-panel) .ui-chat-head>img{width:46px;height:46px;border-radius:15px;background:#0a120f;padding:5px;transform:none}
body :is(.ui-chat-panel,.ui-token-chat-panel) .ui-chat-head>div{gap:5px;min-width:0}
body :is(.ui-chat-panel,.ui-token-chat-panel) .ui-chat-head strong{font-size:18px;letter-spacing:-.3px}
body :is(.ui-chat-panel,.ui-token-chat-panel) .ui-chat-head small{font-size:12px;color:#a8bdb0}
body :is(.ui-chat-close,.ui-token-chat-close){flex:none;width:44px!important;height:44px!important;min-height:44px!important;min-width:44px!important;background:#ffffff06;border:0!important;border-radius:12px;font-size:25px;color:#afc6b8}
body :is(.ui-chat-panel,.ui-token-chat-panel) .coin-chat{background:#101815!important;margin:0!important;min-height:0!important;width:100%;position:static!important;display:flex!important;flex:1;border:0}
body :is(.ui-chat-panel,.ui-token-chat-panel) .cc-head{padding:10px 14px;gap:8px;min-height:44px;flex-wrap:wrap;background:#0e1512;border-color:#25362c}
body :is(.ui-chat-panel,.ui-token-chat-panel) .cc-title{font-size:11px!important;max-width:100%!important;flex:1;overflow:hidden;text-overflow:ellipsis;color:#8fa99a}
body :is(.ui-chat-panel,.ui-token-chat-panel) .cc-sym{color:#e1eee5;font-weight:700}
body :is(.ui-chat-panel,.ui-token-chat-panel) .cc-watch{font-size:10px;color:#9bb4a4}
body :is(.ui-chat-panel,.ui-token-chat-panel) .cc-demo{background:#2d2c1e;color:#dac98a;font-size:9px;padding:3px 6px}
body :is(.ui-chat-panel,.ui-token-chat-panel) .cc-rules{flex:none;padding:0 14px;color:#9ab0a1;background:#101815;border-color:#25362c;font-size:11px}
body :is(.ui-chat-panel,.ui-token-chat-panel) .cc-rules summary{min-height:36px;display:flex;align-items:center;cursor:pointer}
body :is(.ui-chat-panel,.ui-token-chat-panel) .cc-rules p{font-size:12px;line-height:1.5;margin:0 0 10px}
body :is(.ui-chat-panel,.ui-token-chat-panel) .cc-scroll{padding:8px 0;min-height:80px;flex:1;scroll-behavior:auto}
body :is(.ui-chat-panel,.ui-token-chat-panel) .cc-welcome{padding:24px 28px;text-align:center;display:flex;flex-direction:column;align-items:center;gap:12px;list-style:none}
.cc-welcome-dog{width:64px;height:64px;border-radius:22px;padding:8px;background:#0a120f;box-shadow:6px 6px 0 #294a35;transform:none}
.cc-kicker{margin-top:8px;font-size:10px;font-weight:700;letter-spacing:1.4px;color:#91b6a0}
.cc-welcome h3{font-size:24px;font-weight:700;letter-spacing:-.8px;line-height:1.15;color:#f0f6f2;margin:0}
.cc-welcome p{font-size:13px;line-height:1.6;color:#9fb4a7;max-width:280px;margin:0}
.cc-moods{display:flex;gap:6px;flex-wrap:wrap;justify-content:center;margin-top:4px}.cc-moods span{padding:6px 9px;background:#1a2720;color:#c6d7cd;border:1px solid #293c30;border-radius:20px;font-size:10px}
body :is(.ui-chat-panel,.ui-token-chat-panel) .cc-foot{flex:none;gap:9px;padding:14px;border-color:#2a3e31;background:#142018}
.cc-access strong{font-size:13px;color:#e1eee4}.cc-access p{font-size:11px;line-height:1.5;color:#9cb6a5;margin:4px 0 0}.cc-preview-note{font-size:10px;line-height:1.4;text-align:center;color:#99ac9f;margin:0}
body :is(.ui-chat-panel,.ui-token-chat-panel) .cc-input{height:44px;min-height:44px;font-size:13px;padding:0 12px;background:#0c140f;border:1px solid #38523f;border-radius:12px;color:#edf4ef}
body :is(.ui-chat-panel,.ui-token-chat-panel) .cc-input[readonly]{border-style:dashed;color:#9eb1a4}
body :is(.ui-chat-panel,.ui-token-chat-panel) .cc-primary{min-height:44px;border-radius:12px;background:#b7e6c7;color:#14251a;font-size:13px;font-weight:700}
body :is(.ui-chat-panel,.ui-token-chat-panel) .cc-msg{gap:10px;padding:10px 14px}
body :is(.ui-chat-panel,.ui-token-chat-panel) .cc-avatar{width:30px;height:30px;border-radius:10px;background:#213326}
body :is(.ui-chat-panel,.ui-token-chat-panel) .cc-meta{flex-wrap:wrap;gap:5px;font-size:10px}
body :is(.ui-chat-panel,.ui-token-chat-panel) .cc-text{font-size:13px;line-height:1.55}
body :is(.ui-chat-panel,.ui-token-chat-panel) .cc-holder{background:#28392e;color:#aec3b5;font-size:9px}
body :is(.ui-chat-panel,.ui-token-chat-panel) .cc-react{min-height:32px;padding:3px 9px;border-radius:14px;background:#1a2920;border-color:#324c3c}
body :is(.ui-chat-panel,.ui-token-chat-panel) .cc-report,body :is(.ui-chat-panel,.ui-token-chat-panel) .cc-addreact{min-height:32px;min-width:32px}
body :is(.ui-chat-panel,.ui-token-chat-panel) .cc-picker button{min-height:44px;min-width:44px}
@media(max-width:760px){
 body .ui-chat-panel,body .ui-token-chat-panel{inset:70px 8px 104px!important;width:auto!important;height:auto!important;border-radius:18px!important}
 body:has(.token-workspace) .ui-token-chat-panel{bottom:124px!important}
 body :is(.ui-chat-panel,.ui-token-chat-panel) .cc-welcome{padding:18px 20px}
 body :is(.ui-chat-panel,.ui-token-chat-panel) .cc-react,body :is(.ui-chat-panel,.ui-token-chat-panel) .cc-report,body :is(.ui-chat-panel,.ui-token-chat-panel) .cc-addreact{min-height:44px;min-width:44px}
}
@media(max-height:700px){.cc-welcome-dog{width:44px;height:44px}.cc-welcome h3{font-size:20px}body :is(.ui-chat-panel,.ui-token-chat-panel) .cc-welcome{padding:12px;gap:8px}.cc-moods{display:none}}
/* Beat legacy widget-wide button sizing; chat controls have their own geometry. */
body #ui-chat-widget #ui-chat-panel,body #ui-token-chat-widget #ui-token-chat-panel{left:auto!important;right:16px!important;width:min(410px,calc(100vw - 32px))!important}
body :is(#ui-chat-panel,#ui-token-chat-panel) button{width:auto!important;max-width:100%;flex-shrink:0}
body :is(#ui-chat-panel,#ui-token-chat-panel) .cc-primary{width:100%!important}
body :is(#ui-chat-panel,#ui-token-chat-panel) :is(.cc-addreact,.cc-report){width:32px!important;min-width:32px!important;height:32px;min-height:32px!important;padding:0!important}
body :is(#ui-chat-panel,#ui-token-chat-panel) .cc-send{width:82px!important;min-width:82px!important;min-height:44px;font-size:12px;padding:0 8px;align-self:stretch}
body :is(#ui-chat-panel,#ui-token-chat-panel) .cc-input{width:0;flex:1 1 0;min-width:0}
body :is(#ui-chat-panel,#ui-token-chat-panel) .cc-draft{width:100%;flex:none}
body :is(#ui-chat-panel,#ui-token-chat-panel) .cc-meta{min-height:32px;flex-wrap:nowrap}
body :is(#ui-chat-panel,#ui-token-chat-panel) .cc-wallet{white-space:nowrap;font-size:10px}
body :is(#ui-chat-panel,#ui-token-chat-panel) .cc-signout{min-height:32px;white-space:nowrap;padding:0 8px;font-size:10px}
body :is(#ui-chat-panel,#ui-token-chat-panel) .cc-me{min-height:32px;gap:5px}
body :is(#ui-chat-panel,#ui-token-chat-panel) .cc-reacts{display:flex;flex-wrap:wrap;gap:5px}
body :is(#ui-chat-panel,#ui-token-chat-panel) .cc-react{display:inline-flex!important;flex:0 0 auto!important;width:auto!important}
@media(max-width:760px){
 body #ui-chat-widget #ui-chat-panel,body #ui-token-chat-widget #ui-token-chat-panel{left:8px!important;right:8px!important;width:auto!important}
 body :is(#ui-chat-panel,#ui-token-chat-panel) :is(.cc-addreact,.cc-report){width:44px!important;min-width:44px!important;height:44px;min-height:44px!important}
 body :is(#ui-chat-panel,#ui-token-chat-panel) .cc-wallet{max-width:87px;overflow:hidden;text-overflow:ellipsis}
}
/* One shared Lounge, seamlessly docked alongside Discover; never a per-token column. */
.cc-room-sub{font-weight:400;color:#859b8c}
@media(min-width:1024px){
 body:has(.discover-tabstrip)[data-ui-lounge-open=true] #main{padding-right:364px!important}
 body:has(.discover-tabstrip)[data-ui-lounge-open=true] #main>.toolbar{right:364px!important}
 body:has(.discover-tabstrip)[data-ui-lounge-open=true] #ui-chat-widget #ui-chat-panel{top:76px!important;bottom:42px!important;right:28px!important;left:auto!important;width:320px!important;height:auto!important;box-shadow:none!important;border-radius:14px!important}
 body:has(.discover-tabstrip)[data-ui-lounge-open=true] #main .token-table{--list-grid:minmax(190px,1fr) 76px 78px 85px 100px 76px 84px!important;--list-gap:8px!important}
 body:has(.discover-tabstrip)[data-ui-lounge-open=true] #main .token-table :is(.token,.columnheads){grid-template-columns:var(--list-grid)!important;gap:8px!important}
 body:has(.discover-tabstrip)[data-ui-lounge-open=true] #main .token-table :is(.cell-age,.cell-holders){display:none!important}
 body:has(.discover-tabstrip)[data-ui-lounge-open=true] .cc-welcome{padding:20px 16px!important}
 body:has(.discover-tabstrip)[data-ui-lounge-open=true] .cc-welcome h3{font-size:23px}
 body:has(.discover-tabstrip)[data-ui-lounge-open=true] .cc-demo{font-size:8px!important}
 body:has(.discover-tabstrip)[data-ui-lounge-open=true] #ui-chat-panel .cc-head{gap:4px}
 body:has(.discover-tabstrip)[data-ui-lounge-open=true] #ui-chat-panel .cc-room-sub{display:none}
 body:has(.discover-tabstrip)[data-ui-lounge-open=true] #ui-chat-panel .cc-form{flex-wrap:wrap}
 body:has(.discover-tabstrip)[data-ui-lounge-open=true] #ui-chat-panel .cc-form .cc-input{flex-basis:100%;width:100%}
 body:has(.discover-tabstrip)[data-ui-lounge-open=true] #ui-chat-panel .cc-send{margin-left:auto}
}
@media(min-width:1024px) and (max-width:1279px){
 body:has(.discover-tabstrip)[data-ui-lounge-open=true] #main .token-table{--list-grid:minmax(150px,1fr) 78px 92px 64px 78px!important}
 body:has(.discover-tabstrip)[data-ui-lounge-open=true] #main .token-table :is(.cell-liquidity,.cell-volume){display:none!important}
 body:has(.discover-tabstrip)[data-ui-lounge-open=true] #main .ui-quick-buy{display:none!important}
}
@media(min-width:1700px){
 body:has(.discover-tabstrip)[data-ui-lounge-open=true] #main .token-table{--list-grid:minmax(230px,1fr) 38px 90px 90px 55px 92px 100px 80px 84px!important}
 body:has(.discover-tabstrip)[data-ui-lounge-open=true] #main .token-table :is(.cell-age,.cell-holders){display:block!important}
}

body:has(.token-workspace) #ui-chat-widget>.ui-chat-launch{display:none!important}

/* Real API messages use the same room rhythm; keep metadata inside the panel. */
body #ui-chat-panel [data-chat-mode=live] .cc-list{padding:0;margin:0;list-style:none}
body #ui-chat-panel [data-chat-mode=live] .cc-msg{box-sizing:border-box;width:100%;display:grid;grid-template-columns:30px minmax(0,1fr);gap:10px;padding:12px 14px}
body #ui-chat-panel [data-chat-mode=live] .cc-body{min-width:0;width:auto}
body #ui-chat-panel [data-chat-mode=live] .cc-avatar{display:grid;place-items:center;flex:none}
body #ui-chat-panel [data-chat-mode=live] .cc-meta{min-width:0;width:100%;box-sizing:border-box}
body #ui-chat-panel [data-chat-mode=live] .cc-text{overflow-wrap:anywhere}
body #ui-chat-panel [data-chat-mode=live] .cc-reacts{display:flex;flex-wrap:wrap;gap:4px}
/* Discover density: two control rows, followed by an independently scrolling list.
   Existing controls and keyed token rows stay mounted in their original parents. */
@media (min-width:1024px){
 body:has(.discover-tabstrip):not([data-ui-sidebar-expanded=true]) #sidebar{width:60px!important;flex-basis:60px!important;padding-inline:3px!important}
 body:has(.discover-tabstrip) #ui-token-nav-toggle{left:8px!important;top:68px!important}
 body:has(.discover-tabstrip) .ui-chat-widget{left:8px!important}
 body:has(.discover-tabstrip) #main{display:grid!important;grid-template-columns:72px minmax(0,1fr) 170px 140px 90px;grid-template-rows:38px 34px minmax(0,1fr) 30px;gap:4px 6px;padding:4px 12px 4px!important;height:calc(100dvh - 94px)!important;min-width:0!important;align-content:stretch}
 body:has(.discover-tabstrip)[data-ui-lounge-open=true] #main{padding-right:304px!important}
 body:has(.discover-tabstrip)[data-ui-lounge-open=true] #ui-chat-widget #ui-chat-panel{top:64px!important;right:12px!important;width:280px!important;bottom:38px!important}
 body:has(.discover-tabstrip) #main>.discover-tabstrip{grid-column:1/4;grid-row:1;margin:0!important;padding:0!important;min-width:0;height:40px!important;min-height:0!important;align-self:center}
 body:has(.discover-tabstrip) .discover-tabstrip .tabs{gap:2px!important;margin:0!important;padding:0!important;min-height:0!important;height:38px!important;align-items:center;overflow-x:auto;scrollbar-width:none}
 body:has(.discover-tabstrip) .discover-tabstrip button[data-filter]{min-height:32px!important;height:32px!important;padding:4px 9px!important;font-size:12px!important;white-space:nowrap}
 body:has(.discover-tabstrip) #main>.ui-pinned-strip{grid-column:4;grid-row:1;margin:0!important;padding:0!important;height:36px!important;min-height:0!important;gap:6px;align-self:center}
 body:has(.discover-tabstrip) #main .ui-pinned-card{flex:0 0 134px!important;min-height:34px!important;height:34px!important;padding:4px 7px!important;gap:0!important;border-radius:9px;box-sizing:border-box}
 body:has(.discover-tabstrip) #main .ui-pinned-card small{display:none!important}
 body:has(.discover-tabstrip) #main .ui-pinned-card>span{gap:5px!important}
 body:has(.discover-tabstrip) #main .ui-pinned-card img{width:20px;height:20px}
 body:has(.discover-tabstrip) #main .ui-pinned-card b{font-size:11px}
 body:has(.discover-tabstrip) #main .ui-pinned-card:first-child b::after{content:' Promo';font-size:10px;font-weight:500;color:#b8c8bf}
 body:has(.discover-tabstrip) #main>.toolbar{position:static!important;grid-column:5;grid-row:1;min-width:0;height:36px!important;min-height:0!important;margin:0!important;padding:0!important;align-self:center}
 body:has(.discover-tabstrip) #main>.toolbar .currency-controls{gap:2px;margin:0}
 body:has(.discover-tabstrip) #main>.toolbar button{min-height:32px!important;height:32px!important;padding:4px 7px!important;font-size:11px}
 body:has(.discover-tabstrip) #main>.list-controls{display:contents!important}
 body:has(.discover-tabstrip) #main .list-controls>.filter-bar{grid-column:1;grid-row:2;min-width:0;margin:0!important;padding:0!important;height:36px!important;gap:2px}
 body:has(.discover-tabstrip) #main .filter-toggle{min-height:32px!important;height:32px!important;padding:4px 9px!important;font-size:12px}
 body:has(.discover-tabstrip) #main .filter-bar>[data-clear-filters]{font-size:0;min-width:20px;padding:0}
 body:has(.discover-tabstrip) #main .filter-bar>[data-clear-filters]::after{content:'×';font-size:16px}
 body:has(.discover-tabstrip) #main>.ui-list-info{grid-column:2;grid-row:2;position:relative;align-self:center;width:auto!important;min-width:0;margin:0!important;padding:0!important;height:32px!important;z-index:8}
 body:has(.discover-tabstrip) #main>.ui-list-info>summary{display:inline-flex!important;align-items:center;width:100%;height:32px!important;min-height:32px!important;padding:3px 8px!important;gap:5px!important;font-size:11px!important;box-sizing:border-box;white-space:nowrap}
 body:has(.discover-tabstrip) .ui-list-info .ui-info-short{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
 body:has(.discover-tabstrip) .ui-list-info-body{position:absolute!important;top:36px;left:0;width:min(520px,70vw);max-height:60vh;overflow:auto;box-sizing:border-box;background:#111b16;border:1px solid #34483c;border-radius:10px;padding:12px;box-shadow:0 12px 30px #0008}
 body:has(.discover-tabstrip) #main .list-controls>.window-bar{grid-column:3/6;grid-row:2;justify-self:end;display:flex;align-items:center;gap:8px;margin:0!important;padding:0!important;min-height:32px!important;height:36px!important;width:auto!important}
 body:has(.discover-tabstrip) #main .window-label{font-size:11px;white-space:nowrap}
 body:has(.discover-tabstrip) #main .window-group button{height:30px!important;min-height:30px!important;padding:3px 12px!important;font-size:12px}
 body:has(.discover-tabstrip) #main>.token-table{grid-column:1/-1;grid-row:3;min-height:0!important;margin:0!important;width:100%;align-self:stretch}
 body:has(.discover-tabstrip) #main .token-table>.columnheads{height:32px!important;min-height:32px!important;margin:0!important;padding-block:2px!important;font-size:11px!important}
 body:has(.discover-tabstrip) #main .token-table .token{height:50px!important;min-height:50px!important;max-height:50px!important;padding-block:3px!important;box-sizing:border-box}
 body:has(.discover-tabstrip) #main .token-table .token .avatar{width:42px!important;height:42px!important;min-width:42px!important;flex-basis:42px!important;border-radius:12px}
 body:has(.discover-tabstrip) #main .token-table .token .token-name-line{min-height:25px!important;height:25px!important}
 body:has(.discover-tabstrip) #main .token-table .token .sub{font-size:10px!important;line-height:13px!important;margin:0!important}
 body:has(.discover-tabstrip) #main .token-table .token .grad-bar{margin-top:1px!important;height:2px!important}
 body:has(.discover-tabstrip) #main>.pager{grid-column:1/-1;grid-row:4;height:30px!important;min-height:30px!important;margin:0!important;padding:0!important;font-size:11px}
 body:has(.discover-tabstrip) #main>.pager button{height:28px!important;min-height:28px!important;padding:2px 8px!important;font-size:12px}
}
@media(min-width:1280px) and (max-width:1699px){
 body:has(.discover-tabstrip)[data-ui-lounge-open=true] #main .token-table{--list-grid:minmax(220px,1.35fr) 76px 78px 85px 100px 76px 84px!important}
}
@media(min-width:1024px) and (max-width:1279px){
 body:has(.discover-tabstrip) #main{grid-template-columns:64px minmax(0,1fr) 70px 126px 80px;column-gap:4px}
 body:has(.discover-tabstrip) #main .ui-pinned-card{flex-basis:122px!important}
 body:has(.discover-tabstrip) #main .window-label{display:none}
 body:has(.discover-tabstrip) #main .window-group button{padding-inline:9px!important}
}

@media(min-width:1024px){
 body:has(.discover-tabstrip) #main .list-controls>.filter-panel:not([hidden]){position:absolute!important;top:84px!important;left:12px!important;right:auto!important;width:min(640px,calc(100% - 24px));max-height:calc(100dvh - 210px);overflow:auto;z-index:30;box-sizing:border-box;padding:14px!important;margin:0!important;background:#111b17;border:1px solid #365045;border-radius:12px;box-shadow:0 16px 40px #0009}
 body:has(.discover-tabstrip) #main .filter-panel .filter-sheet-head{display:flex!important;justify-content:space-between;align-items:center;margin-bottom:8px}
 body:has(.discover-tabstrip) #main .filter-panel .filter-controls{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
 body:has(.discover-tabstrip) #main .filter-panel .filter-controls label{min-width:0}
 body:has(.discover-tabstrip) #main .filter-panel select{width:100%;max-width:100%}
}


/* Lounge terminal: original Kangal, dark badges, truthful connection state. */
body:has(.discover-tabstrip) #main > .token-table{max-height:none!important}
body :is(.ui-chat-launch,.ui-token-chat-launch){position:relative;background:#0a120f!important;border:1px solid #2c5240!important;transition:border-color .15s,box-shadow .15s}
body :is(.ui-chat-launch,.ui-token-chat-launch)[aria-expanded=true]{border-color:#79e5b1!important;box-shadow:0 0 0 2px #79e5b122,0 0 18px #79e5b126!important}
body :is(.ui-chat-launch,.ui-token-chat-launch)[aria-expanded=true]::after{content:'';position:absolute;right:3px;top:3px;width:7px;height:7px;border-radius:50%;background:#79e5b1;box-shadow:0 0 0 2px #0a120f}
body :is(.ui-chat-launch,.ui-token-chat-launch) img,body .ui-chat-panel .ui-chat-head>img{background:#0a120f!important;border:1px solid #2c5240!important;transform:none!important;object-fit:contain!important;padding:3px!important;border-radius:10px!important;box-sizing:border-box}
body .ui-chat-panel .ui-chat-head{min-height:84px;padding:10px 12px;display:grid;grid-template-columns:minmax(0,1fr) 44px;gap:3px 8px;background:#101d17}
body .ui-chat-panel .ui-chat-head>img{grid-column:2;grid-row:1/3;width:44px;height:48px}
body .ui-chat-panel .ui-chat-head>div{grid-column:1;grid-row:1;gap:3px}
body .ui-chat-panel .ui-chat-head strong{font-size:16px;letter-spacing:-.2px;white-space:nowrap}
body .ui-chat-panel .ui-chat-head small{font-size:10px;white-space:nowrap;color:#a8bdb0}
.ui-room-status{grid-column:1;grid-row:2;justify-self:start;display:inline-flex;align-items:center;gap:5px;font-size:9px;color:#9eb7a9;background:#0a120f;border:1px solid #2c5240;padding:2px 7px;border-radius:20px}
.ui-room-status::before{content:'';width:5px;height:5px;border-radius:50%;background:#bfa565}
.ui-room-status[data-state=live]{color:#a8edc7}.ui-room-status[data-state=live]::before{background:#79e5b1;animation:room-dot 2s ease-in-out infinite}
body .ui-chat-panel .cc-head{min-height:30px;flex:none;padding:6px 12px;gap:5px;justify-content:space-between;flex-wrap:nowrap}
body .ui-chat-panel .cc-title{font-size:10px!important;flex:1}
body .ui-chat-panel .cc-room-state{font-size:9px;color:#a8bdb0;white-space:nowrap}
body .ui-chat-panel .cc-rules summary{min-height:28px;font-size:10px}
body .ui-chat-panel .cc-scroll{padding:8px;min-height:0;overflow-y:auto;scroll-behavior:auto}
body .ui-chat-panel .cc-list{padding:0;margin:0;list-style:none}
body .ui-chat-panel [data-chat-mode=live] .cc-msg{display:grid;grid-template-columns:24px minmax(0,1fr);gap:7px;margin:0 0 8px;padding:10px 8px;border:1px solid #233c2e;background:#122019;border-radius:10px}
body .ui-chat-panel .cc-avatar{width:24px;height:24px;margin:0;padding:2px;border:1px solid #34503e;border-radius:7px}
body .ui-chat-panel .cc-meta{display:flex;flex-wrap:wrap;gap:4px;min-height:18px}
body .ui-chat-panel .cc-wallet{font-size:10px;max-width:none}
body .ui-chat-panel .cc-holder{font-size:8px;background:#173c28;color:#a5e9bc;border:1px solid #39694c;border-radius:5px;padding:1px 4px}
body .ui-chat-panel .cc-time{font-size:9px;color:#90a99b}
body .ui-chat-panel .cc-text{font-size:12px;line-height:1.55;margin-top:4px}
body .ui-chat-panel .cc-mint{color:#a6e7c2;background:#153727;border:1px solid #2d6249}
body .ui-chat-panel .cc-link{color:#e3c58c;background:#30271a;border:1px solid #6a5633}
body .ui-chat-panel .cc-reacts{gap:4px;margin-top:7px}
body .ui-chat-panel .cc-react{min-width:36px!important;min-height:28px!important;padding:3px 6px!important;font-size:11px;border:1px solid #304b3a;background:#0b1711}
body .ui-chat-panel .cc-react[aria-pressed=true]{border-color:#79e5b1;background:#214632}
body .ui-chat-panel .cc-react[disabled]{opacity:.55}
body .ui-chat-panel .cc-report{width:24px!important;min-width:24px!important;height:24px;min-height:24px!important;margin-left:auto}
body .ui-chat-panel .cc-foot{flex:none;display:flex;flex-direction:column;gap:7px;padding:10px 12px;background:#0c1711;border-top:1px solid #2a4434}
body .ui-chat-panel .cc-form{display:flex!important;flex-wrap:nowrap!important;gap:6px;margin:0}
body .ui-chat-panel .cc-form .cc-input{flex:1 1 0!important;width:0!important;min-width:0;min-height:44px;padding:8px;font-size:12px;border-color:#34503e;background:#101e16}
body .ui-chat-panel .cc-draft{min-height:44px;padding:8px;font-size:12px;background:#101e16;border-color:#34503e}
body .ui-chat-panel .cc-send{flex:0 0 54px;width:54px!important;min-width:54px!important;margin:0!important}
body .ui-chat-panel .cc-primary{min-height:44px;font-size:12px;padding:8px;background:#79e5b1;color:#092218;border-radius:9px}
body .ui-chat-panel .cc-status:empty{display:none}
body .ui-chat-panel :is(.cc-status,.cc-guest,.cc-access-note){font-size:10px;line-height:1.5;margin:0;color:#a8bdb0}
body .ui-chat-panel .cc-safety{font-size:9px;line-height:1.4;margin:0;color:#7f9c8b}
body .ui-chat-panel .cc-count{font-size:9px;margin:0;align-self:flex-end;color:#8da897}
body .ui-chat-panel .cc-me{min-height:24px}
body .ui-chat-panel .cc-me .cc-ghost{margin-left:auto;min-height:28px;padding:2px 5px;font-size:10px}
body .ui-chat-panel .cc-guide-card,body .ui-chat-panel .cc-welcome{display:block;text-align:left;list-style:none;border:1px solid #2b4434;border-radius:10px;padding:14px;margin:0 0 8px;background:#132219}
.cc-guide-icon{float:left;margin-right:8px;font-size:16px}.cc-guide-card strong{font-size:12px;color:#deeee4}.cc-guide-card p{font-size:11px;line-height:1.65;color:#94b09f;margin:8px 0 0}
@keyframes room-dot{50%{opacity:.55}}
@media(max-width:760px){body .ui-chat-panel .cc-react{min-height:44px!important;min-width:44px!important}body .ui-chat-panel .cc-report{min-height:44px!important;min-width:44px!important}}
@media(prefers-reduced-motion:reduce){.ui-room-status::before{animation:none!important}body :is(.ui-chat-launch,.ui-token-chat-launch){transition:none}}

@media(max-width:760px){
 body:has(.discover-tabstrip) #ui-chat-widget,body:has(.discover-tabstrip) #ui-chat-widget:has(.ui-chat-launch[aria-expanded=true]){left:10px!important;right:auto!important;width:50px!important;max-width:50px!important;bottom:calc(var(--bottom-nav-height,60px) + 44px)!important}
 body:has(.discover-tabstrip) #ui-chat-widget #ui-chat-panel{bottom:calc(var(--bottom-nav-height,60px) + 106px)!important}
}

@media(min-width:761px){body .ui-chat-panel .cc-react{min-width:30px!important;padding:3px 4px!important;font-size:10px}}

/* Table spacing 01: reference = Turan's FOMO Discover screenshots.
   Allocate room by actual table width, including an open/closed Lounge. */
body #main .token-table .token .token-tools .copy-mint{
 width:24px!important;min-width:24px!important;height:24px!important;min-height:24px!important;
 padding:0!important;border:0!important;border-radius:5px!important;background:transparent!important;
 color:#8fa69c!important;box-shadow:none!important;flex:none;
}
body #main .token-table .token .token-tools .copy-mint svg{width:13px!important;height:13px!important}
body #main .token-table .token .token-tools .copy-mint:hover{background:#79e5b112!important;color:#c7efdb!important;outline:0}
body #main .token-table .token .token-tools .copy-mint:focus-visible{outline:2px solid #79e5b1;outline-offset:1px}
body #main .token-table .copy-mint[data-copied=true]{color:#79e5b1!important}
body #main .token-table .copy-feedback{display:inline-flex!important;align-items:center;justify-content:center;width:14px!important;height:14px!important;font-size:0!important;line-height:14px;color:inherit}
body #main .token-table .copy-feedback::after{content:'✓';font-size:14px!important;line-height:1!important}
@media(min-width:761px){
 body #main .token-table.discover-numbers{container-type:inline-size;container-name:discover-table}
 body #main .token-table.discover-numbers.discover-numbers :is(.token,.columnheads){
  --layout-columns:minmax(150px,1fr) 84px 110px 112px 84px;
  grid-template-columns:var(--layout-columns)!important;column-gap:16px!important;row-gap:0!important;padding-inline:10px!important;
 }
 body #main .token-table.discover-numbers.discover-numbers :is(.cell-age,.cell-liquidity,.cell-volume,.cell-holders){display:none!important}
 body #main .token-table.discover-numbers.discover-numbers :is(.cell-token,.cell-cap,.cell-price,.cell-change,.cell-safety){display:block!important;grid-column:auto!important;grid-row:auto!important;min-width:0!important}
 body #main .token-table.discover-numbers.discover-numbers .cell-token{display:flex!important}
 body #main .token-table.discover-numbers.discover-numbers .cell-safety{display:flex!important;justify-content:center!important}
 body #main .token-table.discover-numbers.discover-numbers .coverage-button{width:84px!important;min-width:84px!important;max-width:84px!important}
 body #main .token-table.discover-numbers.discover-numbers .change-value{font-size:13px!important;letter-spacing:0!important;max-width:100%}
 body #main .token-table.discover-numbers.discover-numbers .columnheads [data-sort]{border-radius:4px}
 @container discover-table (min-width:820px){
  body #main .token-table.discover-numbers.discover-numbers :is(.token,.columnheads){--layout-columns:minmax(200px,1fr) 94px 122px 120px 90px;column-gap:20px!important}
 }
 @container discover-table (min-width:980px){
  body #main .token-table.discover-numbers.discover-numbers :is(.token,.columnheads){--layout-columns:minmax(210px,1fr) 88px 88px 94px 122px 120px 90px;column-gap:18px!important}
  body #main .token-table.discover-numbers.discover-numbers :is(.cell-liquidity,.cell-volume){display:block!important}
 }
 @container discover-table (min-width:1250px){
  body #main .token-table.discover-numbers.discover-numbers :is(.token,.columnheads){--layout-columns:minmax(230px,1fr) 48px 90px 90px 64px 96px 128px 124px 90px;column-gap:20px!important}
  body #main .token-table.discover-numbers.discover-numbers :is(.cell-age,.cell-holders){display:block!important}
 }
}
@media(pointer:coarse){
 body #main .token-table .token .token-tools .copy-mint{width:44px!important;min-width:44px!important;height:44px!important;min-height:44px!important}
 body #main .token-table .token .token-tools .copy-mint svg{width:14px!important;height:14px!important}
 body #main .token-table .token .token-name-line{overflow:visible!important}
}

/* Lounge 08 micro-polish. Preserve table-spacing-01 columns and toggle geometry. */
body #main .token-table .change-value[data-delayed=true]{opacity:.88}
body #main .token-table .change-value[data-change=up]{color:var(--move-up,#86d6a9)!important}
body #main .token-table .change-value[data-change=down]{color:var(--move-down,#ec9aa1)!important}
body:has(.discover-tabstrip) #main>.ui-list-info{width:fit-content!important;max-width:100%!important;justify-self:start}
body:has(.discover-tabstrip) #main>.ui-list-info>summary{width:fit-content!important;max-width:100%;gap:5px!important}
body .ui-chat-panel .cc-room-state{display:none!important}
body #ui-chat-widget #ui-chat-panel .coin-chat[data-chat-mode=offline] .cc-primary{background:#15271e!important;color:#c2dece!important;border:1px solid #355442!important;font-weight:500!important}
body .ui-chat-panel .coin-chat[data-chat-mode=offline] .cc-status{color:#90a99a;font-size:10px}
body .ui-room-status[data-state=offline],body .ui-room-status[data-state=reconnecting]{color:#a1b6aa;border-color:#334a3e}
body .ui-room-status[data-state=offline]::before,body .ui-room-status[data-state=reconnecting]::before{background:#80988a;animation:none}
@media(min-width:761px){
 body:has(.discover-tabstrip) #main .token-table #tokenrows .token{height:48px!important;min-height:48px!important;max-height:48px!important;padding-block:2px!important}
}
@media(max-width:760px){
 body #main .token-table #tokenrows .token{height:74px!important;min-height:74px!important;max-height:74px!important;padding-block:4px!important}
}

/* Row updates remain local to the table layout. */
#tokenrows .token[data-row-mint]{contain:layout style;}

/* Display basis only; no row height or column width change. */
body #main #tokenrows .window-basis{display:block;color:#9ab0a5;font-size:10px!important;line-height:12px!important;white-space:nowrap}
.window-volume,body #main #tokenrows .cell-change:has(>.window-basis),body #main #tokenrows .cell-change:has(>.window-basis)>.change-value{display:block!important;min-width:0;height:auto!important;min-height:0!important;max-height:none!important}
