/* NearPad full-width discovery strip on the trading terminal. */
.np-terminal-host{grid-template-rows:68px minmax(0,1fr)}
.np-terminal-discovery{grid-area:1/1/2/-1;min-width:0;display:grid;grid-template-rows:32px 36px;background:#0c130e;border-bottom:1px solid #29382d}
.np-terminal-discovery .np-trending-strip{display:flex;align-items:center;gap:0;min-width:0;border-bottom:1px solid #29382d}
.np-terminal-discovery .np-trending-label{flex:none;display:flex;align-items:center;gap:6px;padding:0 13px;color:#aebfac;font-size:10px;font-weight:600;letter-spacing:.06em;text-transform:uppercase}
.np-terminal-discovery .np-trending-label b{color:#dfff79;font-size:15px;font-weight:400;line-height:1}
.np-terminal-discovery .np-trending-items{display:flex;align-items:center;gap:3px;min-width:0;flex:1;overflow-x:auto;scrollbar-width:none;white-space:nowrap}
.np-terminal-discovery .np-trending-items::-webkit-scrollbar,.np-terminal-discovery .np-directory-filters::-webkit-scrollbar{display:none}
.np-terminal-discovery .np-trending-items>span{color:#829687;font-size:10px}
.np-terminal-discovery .np-trending-token{display:flex;align-items:center;gap:7px;flex:none;max-width:230px;height:30px;padding:0 12px;border:0;background:transparent;color:#ebf2e7;cursor:pointer;font-size:11px}
.np-terminal-discovery .np-trending-token:hover{background:#19271b}
.np-terminal-discovery .np-trending-token strong{max-width:128px;overflow:hidden;text-overflow:ellipsis;font-weight:600}
.np-terminal-discovery .np-trending-token em{font-style:normal;font-variant-numeric:tabular-nums}
.np-terminal-discovery .np-trending-token em.up{color:#7cddb0}
.np-terminal-discovery .np-trending-token em.down{color:#fa8d85}
.np-terminal-discovery .np-trending-period{flex:none;padding:0 14px;color:#859588;font-size:10px}
.np-terminal-discovery .np-market-filter-row{display:flex;align-items:center;min-width:0;overflow:hidden}
.np-terminal-discovery .np-directory-filters{display:flex!important;align-items:center;flex:1;gap:0;width:100%;max-width:none;min-width:0;margin:0;padding:0 7px;border:0;border-radius:0;background:transparent;overflow-x:auto;overflow-y:hidden;scrollbar-width:none;white-space:nowrap}
.np-terminal-discovery .np-directory-filters button{flex:none;min-width:65px;width:auto;border:0;border-radius:0;padding:0 13px;height:35px;font-size:11px;font-weight:550;line-height:35px;color:#a9b9a8;background:transparent;white-space:nowrap}
.np-terminal-discovery .np-directory-filters button.active{border:0;box-shadow:inset 0 -2px #dfff79;background:#17271a;color:#e7ff9a}
.np-terminal-discovery .np-directory-filters button:hover{color:#e7ff9a;background:#17251a}
.np-terminal-host .np-market-directory{grid-area:2/1;min-height:0}
.np-terminal-host .np-terminal.is-page{grid-area:2/2;min-height:0}
.np-terminal-host .np-directory-toolbar{padding-top:8px;padding-bottom:8px}
@media(max-width:760px){
  .np-terminal-host{display:flex;flex-direction:column;grid-template-rows:none}
  .np-terminal-discovery{display:grid;flex:none;width:100%;height:68px;grid-template-rows:32px 36px}
  .np-terminal-discovery .np-trending-label{padding:0 9px}
  .np-terminal-discovery .np-trending-token{padding:0 9px}
  .np-terminal-discovery .np-trending-period{display:none}
  .np-terminal-discovery .np-directory-filters{display:flex!important;flex-wrap:nowrap;overflow-x:auto;max-width:none;margin:0;padding:0 5px}
  .np-terminal-discovery .np-directory-filters button{flex:none;width:auto;font-size:11px;padding:0 11px}
}
html[data-theme="light"] .np-terminal-discovery{background:#f6f9f3;border-color:#d8e2d3}
html[data-theme="light"] .np-terminal-discovery .np-trending-strip{border-color:#d8e2d3}
html[data-theme="light"] .np-terminal-discovery .np-trending-label,html[data-theme="light"] .np-terminal-discovery .np-trending-period{color:#506150}
html[data-theme="light"] .np-terminal-discovery .np-trending-label b{color:#4b711f}
html[data-theme="light"] .np-terminal-discovery .np-trending-token{color:#263b27}
html[data-theme="light"] .np-terminal-discovery .np-directory-filters button{color:#506150}
html[data-theme="light"] .np-terminal-discovery .np-directory-filters button.active{background:#e8f2df;color:#234923;box-shadow:inset 0 -2px #527a27}
html[data-theme="light"] .np-terminal-discovery .np-directory-filters button:hover,html[data-theme="light"] .np-terminal-discovery .np-trending-token:hover{background:#e8f2df}
.np-terminal-discovery .np-recent-markets{display:flex;align-items:center;gap:5px;flex:none;min-width:0;max-width:350px;padding:0 13px;border-left:1px solid #28392d;white-space:nowrap}
.np-terminal-discovery .np-recent-markets[hidden]{display:none}
.np-terminal-discovery .np-recent-markets span{margin-right:3px;color:#859889;font-size:9px;letter-spacing:.06em}
.np-terminal-discovery .np-recent-markets button{max-width:90px;overflow:hidden;text-overflow:ellipsis;border:0;background:transparent;color:#d5e4d1;font-size:10px;cursor:pointer}
.np-terminal-discovery .np-recent-markets button:hover{color:#dfff79}
html[data-theme="light"] .np-terminal-discovery .np-recent-markets{border-color:#d8e2d3}
html[data-theme="light"] .np-terminal-discovery .np-recent-markets button{color:#365238}
@media(max-width:900px){.np-terminal-discovery .np-recent-markets{display:none!important}}
/* Chart annotations can be hidden when markers obscure candles. */
.np-terminal.is-page .np-trade-marks-toggle{flex:none;min-width:59px;height:26px;padding:0 7px;border:1px solid #3d5641;border-radius:4px;background:#1a2b20;color:#dfff79;font-size:10px;font-weight:650;white-space:nowrap;cursor:pointer}
.np-terminal.is-page .np-trade-marks-toggle[aria-pressed="false"]{color:#aebfaf;background:transparent;border-color:#38483a}
.np-terminal.is-page .np-trade-marks-toggle:hover{background:#253d29}
html[data-theme="light"] .np-terminal.is-page .np-trade-marks-toggle{background:#e8f2df;color:#355a23;border-color:#abc5a0}
html[data-theme="light"] .np-terminal.is-page .np-trade-marks-toggle[aria-pressed="false"]{background:#f6f9f3;color:#506150}
/* Trades already has a tab label; keep the tape columns directly below it. */
.np-terminal.is-page .np-market-trades>.np-card-title{display:none!important}
/* Keep market activity readable in the narrow rail. */
.np-market-directory .np-side-data{display:-webkit-box;max-height:2.6em;overflow:hidden;text-overflow:clip;white-space:normal;-webkit-box-orient:vertical;-webkit-line-clamp:2;line-height:1.3;font-size:10px}


