/* Funds uses the live terminal's metal, glass, pixel font and panel components. */
.desktop-window.is-funds{width:min(940px,94vw);padding:18px}
.desktop-window.is-funds>header{padding:2px 5px 14px;margin-bottom:16px}
.desktop-window.is-funds>header h1{display:flex;align-items:center;gap:22px}
.desktop-window.is-funds>header h1 img{width:150px;height:auto;display:block}
.desktop-window.is-funds>header h1 span{font:400 8px var(--mono)!important;letter-spacing:.06em}
.desktop-window.is-funds .desktop-window-content{background:transparent;border:0;border-radius:0;box-shadow:none;padding:0;overflow:visible}
.desktop-window.is-funds .px,.desktop-window.is-funds .px *{font-family:"VT323",var(--mono)!important;letter-spacing:.02em}
.funds{display:grid;gap:13px}
.funds .bay{min-width:0;min-height:0;padding:7px;border-radius:22px;background:var(--nasdex-chassis-metal);box-shadow:inset 1px 1px 1px #fff,inset -2px -2px 3px #535b61}
.funds .glass{border-radius:15px;box-shadow:var(--nasdex-screen-bezel);position:relative;overflow:hidden}
.funds-total{padding:18px 22px}
.funds-total .lb__head{font-size:14px;border-bottom:1px solid #ffffff20;padding-bottom:10px}
.funds-total strong{display:block;font-size:clamp(44px,7.5vw,88px);line-height:1.1;font-weight:400;color:var(--t1);margin:12px 0 6px;font-variant-numeric:tabular-nums;overflow-wrap:anywhere;text-shadow:0 0 8px #dcebd522}
.funds-total-foot{display:flex;justify-content:space-between;gap:12px;font-size:14px}
.funds-metrics>.glass{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));padding:12px 16px;gap:16px}
.funds-metrics .glass>div:not(.crt-overlay){display:grid;gap:5px;min-width:0;border-right:1px solid #ffffff20;padding-right:12px}
.funds-metrics .glass>div:nth-child(3){border:0}.funds-metrics span,.funds-metrics small{font-size:12px}.funds-metrics b{font-size:22px;overflow-wrap:anywhere}
.funds-panels .leftcol{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:minmax(220px,1fr) 42px;gap:13px;width:100%;height:330px}
.funds-panels .leftcol>.bay:first-child{grid-column:1;grid-row:1}.funds-panels .bay--strip{display:block;grid-column:1;grid-row:2;padding:5px}
.funds-panels .leftcol>.bay:last-child{grid-column:2;grid-row:1 / 3}
.funds-panels .glass,.funds-panels .leftcol .bay:has(.lb),.funds-panels .leftcol .bay:has(.lb) .glass,.funds-panels .leftcol .bay:has(.lb) .crt-content{height:100%;min-height:0}
.funds-panels .glass__off{display:none}.funds-panels .lb{padding:12px;font-size:14px;overflow:auto}.funds-panels .feed{min-height:65px;overflow:auto;font-size:12px}.funds-panels .leftcol .lb__list{flex:none}
.funds footer{display:flex;justify-content:space-between;gap:12px;font-size:8px;color:#41484b;padding:0 6px}
@media(max-width:650px){.desktop-window.is-funds{padding:12px}.desktop-window.is-funds>header h1{gap:10px}.desktop-window.is-funds>header h1 img{width:115px}.desktop-window.is-funds>header h1 span{max-width:75px;font-size:7px!important}.funds-total{padding:14px}.funds-total-foot{font-size:11px}.funds-metrics>.glass{padding:10px;gap:8px}.funds-metrics .glass>div:not(.crt-overlay){padding-right:5px}.funds-metrics b{font-size:18px}.funds-metrics span,.funds-metrics small{font-size:10px}.funds-panels .leftcol{height:auto;grid-template-columns:1fr;grid-template-rows:240px 40px 340px}.funds-panels .leftcol>.bay:last-child{grid-column:1;grid-row:3}.funds footer{font-size:7px}}
/* The Funds token market is independent of NASDEX's stock quote elements. */
.funds-panels{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px;height:330px}
.funds-panels .leftcol{display:block;height:100%;min-height:0;grid-column:2;grid-row:1}.funds-panels .leftcol>.bay:first-child,.funds-panels .leftcol>.bay--strip{display:none}.funds-panels .leftcol>.bay:last-child{height:100%}
.funds-market{display:grid;grid-template-rows:minmax(0,1fr) 42px;gap:13px;min-width:0;min-height:0}.funds-market>.bay{min-height:0}
.funds-token-chart{position:absolute;inset:0;display:grid;grid-template-rows:28px minmax(0,1fr) 20px 24px}
.funds-token-head,.funds-token-status,.funds-token-ca{display:flex;justify-content:space-between;align-items:center;gap:7px;padding:0 10px;font-size:12px}.funds-token-head{border-bottom:1px solid #ffffff18}.funds-token-head>span{white-space:nowrap}.funds-token-canvas{position:relative;min-height:0}.funds-token-canvas canvas{display:block;width:100%;height:100%}.funds-token-canvas>span{position:absolute;inset:0;display:grid;place-items:center;font-size:12px;color:#8f998c}.funds-token-canvas>span[hidden]{display:none}.funds-token-status{font-size:10px}.funds-token-ca{border-top:1px solid #ffffff18;font-size:10px}.funds-token-ca [data-market-ca]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.funds-token-ticker{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:0 12px;font-size:12px;white-space:nowrap}.funds-token-ticker>b{color:#b6adff}
@media(max-width:650px){.funds-panels{height:auto;grid-template-columns:1fr}.funds-market{height:290px}.funds-panels .leftcol{height:340px;grid-column:1;grid-row:2}}
.funds-audit{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}
.funds-detail-screen{height:100%;padding:14px}
.funds-detail-screen .lb__head{font-size:14px;gap:10px}
.desktop-window.is-funds .funds-detail-screen dl{display:block;margin:12px 0}
.funds-detail-screen dl>div{display:flex;justify-content:space-between;gap:14px;padding:8px 0;border-bottom:1px solid #ffffff16;font-size:13px}
.funds-detail-screen dt{color:var(--t3);max-width:55%}.funds-detail-screen dd{color:var(--t1);overflow-wrap:anywhere}.funds-detail-screen p{font-size:11px;line-height:1.35;color:var(--t3);margin:12px 0 0}
@media(max-width:650px){.funds-audit{grid-template-columns:1fr}}

.funds-lifetime>.glass{grid-template-columns:repeat(2,minmax(0,1fr))}.funds-lifetime b{font-size:32px}.funds-lifetime small{white-space:normal}
@media(max-width:650px){.funds-lifetime b{font-size:25px}.funds-lifetime small{font-size:9px}}

.funds .glass>.desktop-crt-surface{height:auto;min-height:0}
.funds-panels .glass>.desktop-crt-surface{height:100%}
.funds-metrics>.glass{display:block}
.funds-metrics .glass>.desktop-crt-surface{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;padding:0;border:0}
.funds-metrics .desktop-crt-surface>div{display:grid;gap:5px;min-width:0;border-right:1px solid #ffffff20;padding-right:12px}
.funds-metrics .desktop-crt-surface>div:last-child{border:0}
.funds-lifetime .glass>.desktop-crt-surface{grid-template-columns:repeat(2,minmax(0,1fr))}
.funds-token-ticker>.desktop-crt-surface{display:flex;align-items:center;justify-content:space-between;gap:10px}
.funds-token-ticker .desktop-crt-surface>b{color:#b6adff}
@media(max-width:650px){.funds-metrics .glass>.desktop-crt-surface{gap:8px}.funds-metrics .desktop-crt-surface>div{padding-right:5px}}
