/* Stock Pairs 1.0: aligned with OrcAgent matte dark/gold market system. */
#oa-stock-pairs{border-bottom:1px solid #232933;background:#0d1116;color:#edf1f6}
#oa-stock-pairs .oa-stock-top{display:flex;justify-content:space-between;align-items:center;gap:8px;padding:13px 21px 8px}
#oa-stock-pairs .oa-stock-title{font-size:12px;font-weight:750;letter-spacing:.075em}
#oa-stock-pairs .oa-stock-tag{font:600 10px 'JetBrains Mono',monospace;border:1px solid #463b29;border-radius:6px;color:#dfb267;padding:4px 7px}
#oa-stock-pairs .oa-stock-assets{display:flex;gap:7px;padding:6px 21px 12px;overflow-x:auto;scrollbar-width:none}
#oa-stock-pairs .oa-stock-assets::-webkit-scrollbar{display:none}
#oa-stock-pairs .oa-stock-chip{background:#141920;border:1px solid #29333f;color:#dbe1e9;border-radius:8px;display:flex;flex-direction:column;gap:3px;padding:8px 11px;min-width:104px;flex:none;text-align:left}
#oa-stock-pairs .oa-stock-chip strong{font-size:12px;font-weight:750}
#oa-stock-pairs .oa-stock-chip small{font-size:10px;color:#8893a1;white-space:nowrap}
#oa-stock-pairs .oa-stock-chip.selected{border-color:#e0b165;background:#1a1a1a;color:#f3c77b}
#oa-stock-pairs .oa-stock-status{font-size:11px;color:#9ba5b3;padding:0 21px 9px}
#oa-stock-pairs .oa-stock-markets{display:grid;grid-template-columns:repeat(auto-fit,minmax(185px,1fr));gap:8px;padding:0 21px 11px}
#oa-stock-pairs .oa-stock-market{display:flex;flex-direction:column;gap:6px;background:#11161e;border:1px solid #303843;border-radius:9px;padding:10px 12px;min-width:0;color:#e4e9f0;text-decoration:none}
#oa-stock-pairs .oa-stock-market:hover{border-color:#ba9256}
#oa-stock-pairs .oa-stock-market-title{display:flex;gap:7px;align-items:center;font-size:12px}
#oa-stock-pairs .oa-stock-market-title span{color:#a6adbb}
#oa-stock-pairs .oa-stock-market-price{font:600 15px 'JetBrains Mono',monospace}
#oa-stock-pairs .oa-stock-market small{color:#8b94a4;font-size:10px;line-height:1.4}
#oa-stock-pairs .oa-stock-empty{grid-column:1/-1;padding:5px 0;color:#8c95a3;font-size:11px}
#oa-stock-pairs .oa-stock-notice{padding:0 21px 12px;font-size:10px;color:#818b99;line-height:1.55}
@media(max-width:767px){#oa-stock-pairs .oa-stock-top{padding:12px 14px 6px}#oa-stock-pairs .oa-stock-assets{padding:6px 14px 10px}#oa-stock-pairs .oa-stock-status{padding:0 14px 8px}#oa-stock-pairs .oa-stock-markets{padding:0 14px 10px;grid-template-columns:repeat(2,minmax(0,1fr))}#oa-stock-pairs .oa-stock-market{padding:9px}#oa-stock-pairs .oa-stock-notice{padding:0 14px 10px}}


#oa-stock-pairs .oa-stock-market-actions{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:4px}
#oa-stock-pairs .oa-stock-market-actions a{font-size:10px;color:#a9b5c5;text-decoration:none}
#oa-stock-pairs .oa-stock-market-actions button,#oa-stock-quote button{
 border:1px solid #765e35;border-radius:7px;background:#2a2218;color:#eac27b;
 padding:7px 9px;font-size:10px;font-weight:650;cursor:pointer
}
#oa-stock-pairs .oa-stock-market-actions button:hover,#oa-stock-quote button:hover{border-color:#e7b767}
#oa-stock-quote{margin:3px 21px 11px;padding:12px 14px;border:1px solid #51442c;border-radius:10px;background:#13161b}
#oa-stock-quote[hidden]{display:none}
#oa-stock-quote .oa-stock-quote-head{display:flex;justify-content:space-between;gap:12px;font-size:12px;color:#e6edf4;margin-bottom:9px}
#oa-stock-quote .oa-stock-quote-head span{color:#e5b86d;font-weight:700}
#oa-stock-quote .oa-stock-quote-form{display:flex;gap:7px;flex-wrap:wrap}
#oa-stock-quote select,#oa-stock-quote input{background:#0d1117;color:#f2f4f7;border:1px solid #343b45;border-radius:7px;padding:7px 8px;font-size:11px}
#oa-stock-quote select{flex:1 1 160px}
#oa-stock-quote input{width:100px;min-width:65px;flex:1 1 85px}
#oa-stock-quote button{flex:0 0 auto}
#oa-stock-quote button:disabled{cursor:wait;opacity:.65}
#oa-stock-quote .oa-stock-quote-disclaimer{font-size:10px;color:#909ba8;line-height:1.5;margin:9px 0 0}
#oa-stock-quote #oa-stock-quote-result{font:600 11px/1.6 'JetBrains Mono',ui-monospace,monospace;color:#e7d2ac;margin:10px 0 0}
@media(max-width:767px){#oa-stock-quote{margin:3px 14px 10px;padding:11px}
#oa-stock-pairs .oa-stock-market-actions{flex-wrap:wrap}#oa-stock-pairs .oa-stock-market-actions button{width:100%}}

#oa-stock-pairs .oa-stock-trade-controls{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-top:12px;border-top:1px solid #353a42;padding-top:10px}
#oa-stock-pairs .oa-stock-trade-controls[hidden]{display:none}
#oa-stock-pairs .oa-stock-trade-controls button{font-size:11px;font-weight:700;padding:9px 12px;border-radius:7px;cursor:pointer}
#oa-stock-pairs .oa-stock-trade-controls button[hidden]{display:none}
#oa-stock-pairs .oa-stock-trade-controls button:disabled{opacity:.6;cursor:wait}
#oa-stock-pairs #oa-stock-trade-buy{background:#c99c59;color:#111418;border:1px solid #e6b976}
#oa-stock-pairs #oa-stock-trade-check,#oa-stock-pairs #oa-stock-trade-expire{background:#21262c;color:#eee;border:1px solid #424a53}
#oa-stock-pairs #oa-stock-trade-status{flex-basis:100%;font-size:11px;line-height:1.55;color:#d9c5a1;margin:3px 0 0}

#oa-stock-pairs .oa-stock-readiness{padding:0 21px 12px}
#oa-stock-pairs .oa-stock-readiness button{border:1px solid #48505a;border-radius:7px;background:#161c23;color:#d0b37d;font-size:10px;font-weight:650;padding:7px 10px;cursor:pointer}
#oa-stock-pairs .oa-stock-readiness button:disabled{opacity:.5}
#oa-stock-pairs .oa-stock-readiness p{color:#9facbc;font-size:10px;line-height:1.6;margin:7px 0 0}
@media(max-width:767px){#oa-stock-pairs .oa-stock-readiness{padding:0 14px 11px}}

/* Stock Pairs is now an explicit Live Market category, not the default
   23-asset strip above the token scanner. Preserve display:none from legacy
   scanner widgets even when their poller sets inline display properties. */
#oa-stock-pairs[hidden]{display:none!important}
.pt-center.oa-stock-tab-active #pt-surge-wrap,
.pt-center.oa-stock-tab-active #pt-launch-wrap,
.pt-center.oa-stock-tab-active #pt-trader-rail-wrap,
.pt-center.oa-stock-tab-active #pt-feed-list{display:none!important}

/* Compact, accessible category row shared by normal scanner and stock view. */
.pt-center #oa-lm-quick.oa-lm-quick{
 display:flex;align-items:center;gap:7px;padding:12px 20px;
 overflow-x:auto;white-space:nowrap;scrollbar-width:none;
 border-bottom:1px solid #252c36;background:#0e1218;
}
.pt-center #oa-lm-quick.oa-lm-quick::-webkit-scrollbar{display:none}
.pt-center #oa-lm-quick.oa-lm-quick button{
 border:1px solid #303844;color:#9faabc;background:#161d25;
 border-radius:9px;padding:9px 13px;flex:0 0 auto;cursor:pointer;
 font:700 11px/1.25 system-ui,-apple-system,sans-serif;
 transition:border-color .12s,background .12s,color .12s;
}
.pt-center #oa-lm-quick.oa-lm-quick button:hover{
 border-color:#78603e;color:#f0d3a1;
}
.pt-center #oa-lm-quick.oa-lm-quick button.active{
 border-color:#ad814a;background:#32281c;color:#f4ca89;
}
.pt-center #oa-lm-quick.oa-lm-quick button[data-stock-tab]{
 margin-left:auto;
}
#oa-stock-pairs{border-bottom:0}
#oa-stock-pairs .oa-stock-assets{padding-top:10px}
@media(max-width:767px){
 .pt-center #oa-lm-quick.oa-lm-quick{gap:6px;padding:10px 12px}
 .pt-center #oa-lm-quick.oa-lm-quick button{font-size:10px;padding:9px 10px}
 .pt-center #oa-lm-quick.oa-lm-quick button[data-stock-tab]{margin-left:0}
}

/* A deep-linked token profile must always take precedence over an earlier
   Stock Pairs selection, even when scanner cards are being repainted. */
body.pt-profile-mode #oa-stock-pairs{display:none!important}
body.pt-profile-mode .pt-center.oa-stock-tab-active #pt-feed-list{display:flex!important}

/* Pump-style compact token discovery rows inside the dedicated category;
   only real market data and actual pools are displayed. */
#oa-stock-pairs .oa-stock-markets{display:flex;flex-direction:column;gap:0;padding:1px 21px 13px}
#oa-stock-pairs .oa-stock-market{
 display:grid;grid-template-columns:minmax(145px,1.6fr) minmax(74px,.75fr) minmax(120px,1.1fr) auto;
 align-items:center;gap:12px;background:transparent;border:0;border-bottom:1px solid #2b3440;
 border-radius:0;padding:12px 4px;
}
#oa-stock-pairs .oa-stock-market:hover{background:#151b23;border-color:#78603e}
#oa-stock-pairs .oa-stock-market-title{min-width:0;display:flex;align-items:center;gap:5px}
#oa-stock-pairs .oa-stock-market-title strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#oa-stock-pairs .oa-stock-token-avatar{
 flex:0 0 32px;width:32px;height:32px;display:inline-flex;align-items:center;justify-content:center;
 margin-right:6px;border-radius:10px;background:#282c29;border:1px solid #4a483d;
 color:#ecc782;font-size:12px;font-weight:800;
}
#oa-stock-pairs .oa-stock-market-actions{margin-top:0;justify-content:flex-end;white-space:nowrap}
#oa-stock-pairs .oa-stock-market-price{font-size:13px;font-variant-numeric:tabular-nums}
@media(max-width:767px){
 #oa-stock-pairs .oa-stock-markets{padding:0 13px 12px}
 #oa-stock-pairs .oa-stock-market{grid-template-columns:minmax(0,1fr) auto;gap:8px 5px;padding:12px 4px}
 #oa-stock-pairs .oa-stock-market-title{grid-column:1;grid-row:1}
 #oa-stock-pairs .oa-stock-market-price{grid-column:2;grid-row:1;text-align:right}
 #oa-stock-pairs .oa-stock-market small{grid-column:1;grid-row:2}
 #oa-stock-pairs .oa-stock-market-actions{grid-column:2;grid-row:2;gap:6px}
 #oa-stock-pairs .oa-stock-market-actions a{font-size:9px}
 #oa-stock-pairs .oa-stock-market-actions button{width:auto;font-size:10px;padding:7px}
}
