/* Blackmint v1.35 (pro35ads) */
/* ---- A: dark theme only: every tile/card = black with a thin mint outline (light theme tiles unchanged from v1.34) ---- */
html:not([data-theme=light])[lang] body .glass:not(nav):not(header):not(#_a):not(#_b){background:#000!important;border:1px solid #9ff5cf!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important;
 box-shadow:0 6px 18px rgba(0,0,0,.28)!important;color:#eef0ff;
 --tx:#eef0ff;--mu:#a7b2ad;--bd:rgba(61,220,151,.18);--glass:rgba(255,255,255,.06);--up:#3ddc97;--dn:#ff6b6b;--mint:#3ddc97;--coral:#ff6b6b;color-scheme:dark}
/* ---- B: the A-ADS card (unit 2459666; markup unchanged, still in the home page HTML) ---- */
/* black card behind the ad in BOTH themes (the light theme keeps its v1.34 border) */
html[lang] body aside#bmad.bmad.glass:not(#_a):not(#_b){background:#000!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important}
html body aside#bmad.bmad{padding:6px 8px 8px;text-align:center;margin:12px 0;border-radius:14px!important;overflow:hidden}
html body #bmad .bmadl{font:600 8px/1.3 "IBM Plex Mono",ui-monospace,monospace;letter-spacing:1.2px;text-transform:uppercase;color:#c9d3cf;opacity:.8;margin-bottom:5px}
html body #bmad iframe{border:0;padding:0;display:block;width:100%;max-width:320px;height:100px;overflow:hidden;margin:0 auto;background:#000;border-radius:8px;color-scheme:normal}
/* phones: the bottom menu bar covered a third of the ad below the chart; show it right under the stats cards instead */
@media(max-width:767px){
 html body .dsin{display:flex;flex-direction:column}
 html body .dsin>*{min-width:0}
 html body .dsin>aside#bmad.bmad{order:-1;margin:0 0 12px}
}
@media(min-width:768px){html body #bmad iframe{max-width:728px;height:110px}}
@media(min-width:1024px){html body #bmad iframe{max-width:970px;height:150px}}
/* wide PC: fill the right column above the top movers */
@media(min-width:1400px){html body #bmad iframe{max-width:none;width:100%;height:clamp(150px,12vw,200px)}html body .dsin>aside#bmad.bmad{order:-1;margin:0;padding:6px 6px 6px}}
/* the ad stays home-tab only (same hiding rules as v1.34) */
@media(max-width:1399px){body.pulse #bmad,body.vault #bmad,body.market #bmad,body.macro #bmad,body.bonds #bmad,body.wtbp #bmad,body.cats #bmad,body.news #bmad,body.debt #bmad{display:none}}

/* ---- C: readable text inside the black tiles (dark theme only) ---- */
/* dark theme: up/down stay bright mint / bright red on black (4.5:1+) */
html:not([data-theme=light])[lang] body .glass:not(nav):not(header):not(#_a):not(#_b) :is(.up,.u):not(#_c){color:#3ddc97!important}
html:not([data-theme=light])[lang] body .glass:not(nav):not(header):not(#_a):not(#_b) :is(.dn,.d):not(#_c){color:#ff6b6b!important}
/* dark theme: lift the dimmest footnotes/labels (were ~3.7:1 on black) */
html:not([data-theme=light])[lang] body .glass:not(nav):not(header):not(#_a):not(#_b) :is(.vfoot,.bmdc-f,.bsrc,.sup,.supl,.ctft,.ctn,.cthl){color:#9aa5a0}
html:not([data-theme=light])[lang] body .glass:not(nav):not(header):not(#_a):not(#_b) .star:not(.on){color:#6f7873}

/* keep the ad card from shrinking inside the sticky flex column (wide PC) / phone flex column */
html body .dsin>aside#bmad.bmad{flex-shrink:0;min-height:min-content}

/* ---- D: "Powered by CoinGecko" credit next to CoinGecko data views (added by app/v135.js) ---- */
html body a.bmcg{display:block;width:max-content;margin:8px 4px 2px auto;font:600 10px/1.4 "IBM Plex Mono",ui-monospace,monospace;letter-spacing:.4px;color:var(--mu,#8a948f);text-decoration:none;opacity:.9}
html body a.bmcg:hover{color:var(--mint,#3ddc97);text-decoration:underline}
html body #cPrev,html body #cBig{position:relative}
html body a.bmcg.bmcgo{position:absolute;right:10px;bottom:6px;margin:0;z-index:2;background:rgba(0,0,0,.55);color:#c9d3cf;padding:1px 6px;border-radius:4px}
html[data-theme=light] body a.bmcg.bmcgo{background:rgba(255,255,255,.8);color:#33403b}
/* ---- E: legal footer line on every news story view ---- */
#news .nwlegal{margin:10px 0 0;padding-top:10px;border-top:1px solid var(--nbd,rgba(127,127,127,.25));font:500 11.5px/1.55 Inter,system-ui,sans-serif;color:var(--nm2,#8a948f)}
#news .nwlegal a{color:var(--nu,#3ddc97)}
#news a.nwsrcn{color:inherit;text-decoration:none}#news a.nwsrcn:hover{text-decoration:underline}
#news .nwcap a{color:inherit}
