/* BNB Smart Chain bStocks investigation, "The 3 a.m. stock market" — scoped
   under .bstocks-3am. Ported from the design handoff (bitquery-brand.css +
   investigations.css), plus the four page-local blocks that handoff introduces:
   .rubric, .corr, .dual and .addrpair.
   The handoff's .masthead is dropped — the site's own header supplies that chrome.
   Full-bleed wrapper matches the other investigation stylesheets. */

.bstocks-3am {
  position: relative;
  isolation: isolate;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  width: 100vw;
  overflow-x: hidden;
}

.bstocks-3am .inv-progress-track {
  position: fixed; top: 0; left: 0; right: 0;
  height: 3px; z-index: 120; background: transparent; pointer-events: none;
}
.bstocks-3am .inv-progress-fill {
  height: 100%; width: 0%;
  background: linear-gradient(96deg,#f93f9c 0%,#af3e76 46%,#00d8dd 100%);
  transition: width .12s linear;
}

/* ---- tokens (per bitquery-brand.css; headings white, gradient used sparingly) ---- */
.bstocks-3am{
  --bq-white:#fff; --bq-grey:#aab0bc; --bq-dark-grey:#7e8696;
  --bg:#06090d; --card:#0c121c; --navy:#111c32; --navy-deep:#142739;
  --line:rgba(255,255,255,.10); --line-2:rgba(255,255,255,.06);
  --cta:#93254b; --cta-hover:#af3e76; --cta-border:#621832;
  --pink:#f93f9c; --pink-soft:#f788c0; --magenta:#af3e76; --maroon:#6c1c44;
  --teal:#00d8dd; --teal-muted:#51becc; --blue:#0029ff;
  --gradient:linear-gradient(96deg,#f93f9c 0%,#af3e76 46%,#00d8dd 100%);
  --gain:#35a877; --loss:#e0705a;
  --font:'DM Sans',system-ui,-apple-system,Segoe UI,Roboto,sans-serif;
  --mono:'JetBrains Mono',ui-monospace,monospace;
  --measure:42rem; --wide:60rem;
}
.bstocks-3am *{box-sizing:border-box}
.bstocks-3am{-webkit-text-size-adjust:100%;scroll-behavior:smooth}
.bstocks-3am{margin:0;background:var(--bg);color:var(--bq-grey);font-family:var(--font);font-size:18px;line-height:1.66;font-weight:400;letter-spacing:-.1px;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}
.bstocks-3am a{color:var(--pink-soft);text-decoration:none;border-bottom:1px solid rgba(247,136,192,.4)}
.bstocks-3am a:hover{color:var(--pink);border-bottom-color:var(--pink)}
.bstocks-3am .wrap{max-width:var(--measure);margin:0 auto;padding:0 26px}
.bstocks-3am .wide{max-width:var(--wide);margin:0 auto;padding:0 26px}

/* ---- hero ---- */
.bstocks-3am .gt{background:var(--gradient);-webkit-background-clip:text;background-clip:text;color:transparent}
.bstocks-3am header.article{padding-top:60px}
.bstocks-3am .kicker{font-weight:500;font-size:10px;letter-spacing:1px;text-transform:uppercase;display:flex;align-items:center;gap:11px;margin-bottom:22px}
.bstocks-3am .kicker::before{content:"";width:26px;height:2px;background:var(--gradient);display:inline-block;border-radius:2px}
.bstocks-3am h1{font-weight:500;letter-spacing:-1.6px;color:var(--bq-white);font-size:clamp(38px,6.4vw,68px);line-height:1;margin:0;text-wrap:balance}
.bstocks-3am .deck{color:var(--bq-grey);font-size:clamp(19px,2.5vw,23px);line-height:1.45;margin:24px 0 0;text-wrap:pretty;max-width:36rem}
.bstocks-3am .byline{font-size:12px;letter-spacing:.4px;font-weight:500;color:var(--bq-dark-grey);margin:32px 0 0;padding:16px 0 0;border-top:1px solid var(--line);display:flex;flex-wrap:wrap;gap:6px 10px;align-items:center;text-transform:uppercase}
.bstocks-3am .byline b{color:var(--bq-white);font-weight:500}
.bstocks-3am .byline .dot{opacity:.5}

/* ---- findings panel ---- */
.bstocks-3am .findings{margin:44px auto 0;max-width:var(--wide);padding:0 26px}
.bstocks-3am .fbox{background:linear-gradient(180deg,#0c121c 0%,#0a1017 100%);border:1px solid var(--line);border-radius:14px;overflow:hidden}
.bstocks-3am .fbox::before{content:"";display:block;height:2px;background:var(--gradient)}
.bstocks-3am .fhead{padding:26px 30px 4px}
.bstocks-3am .fhead h2{margin:0;font-size:22px;line-height:26px;letter-spacing:-.1px;color:var(--bq-white);font-weight:500}
.bstocks-3am .fhead p{margin:6px 0 0;font-size:13px;color:var(--bq-dark-grey);letter-spacing:.3px}
.bstocks-3am .flist{list-style:none;margin:18px 0 0;padding:0 30px 6px;display:grid;grid-template-columns:1fr 1fr;gap:0}
.bstocks-3am .flist li{padding:20px 26px 20px 0;border-top:1px solid var(--line-2);display:grid;grid-template-columns:auto 1fr;gap:0 18px;align-items:start}
.bstocks-3am .flist li:nth-child(2n){padding-right:0;padding-left:26px;border-left:1px solid var(--line-2)}
.bstocks-3am .flist .fig{font-weight:500;color:var(--bq-white);font-size:30px;line-height:1;letter-spacing:-1.2px;font-variant-numeric:tabular-nums;min-width:5.4ch}
.bstocks-3am .flist .fig.loss{color:var(--loss)}
.bstocks-3am .flist .fig.sm{font-size:22px;letter-spacing:-.6px;min-width:7.6ch}
.bstocks-3am .flist p{margin:0;font-size:14.5px;line-height:1.5;color:var(--bq-grey)}
.bstocks-3am .flist p b{color:var(--bq-white);font-weight:500}
.bstocks-3am .flist a.jump{display:inline-block;margin-top:8px;font-size:10px;letter-spacing:1px;text-transform:uppercase;font-weight:500;color:var(--teal-muted);border:none}
.bstocks-3am .flist a.jump:hover{color:var(--teal)}
/* All eight findings render open. The handoff ships the panel fully expanded, so
   there is no .fmore here and li.extra is never hidden. */
.bstocks-3am .flist li.extra{display:grid}
.bstocks-3am .fclose{max-width:var(--measure);margin:22px auto 0;font-size:15px;line-height:1.6;color:var(--bq-dark-grey)}
.bstocks-3am .fclose b{color:var(--bq-grey);font-weight:500}

/* ---- body prose ---- */
.bstocks-3am .body{margin-top:44px}
.bstocks-3am .body p{margin:0 0 1.2em;text-wrap:pretty;color:var(--bq-grey)}
.bstocks-3am .body p b, .bstocks-3am .body p strong{color:var(--bq-white);font-weight:500}
.bstocks-3am .body>p:first-of-type::first-letter{font-weight:500;float:left;font-size:64px;line-height:.8;padding:8px 12px 0 0;background:var(--gradient);-webkit-background-clip:text;background-clip:text;color:transparent}
.bstocks-3am h2{font-weight:500;letter-spacing:-.9px;color:var(--bq-white);line-height:1.14;margin:64px 0 10px;font-size:clamp(27px,3.2vw,36px);text-wrap:balance;scroll-margin-top:80px}
.bstocks-3am h2 .tick{display:block;width:38px;height:3px;background:var(--gradient);margin-bottom:18px;border-radius:2px}
.bstocks-3am h2 .num{display:block;font-size:10px;letter-spacing:1px;text-transform:uppercase;color:var(--bq-dark-grey);margin-bottom:10px}
.bstocks-3am .standout{font-size:19px;line-height:1.5;color:var(--bq-white);font-weight:400;border-left:2px solid var(--magenta);padding:2px 0 2px 20px;margin:0 0 1.4em;text-wrap:pretty}

/* ---- KPI strip ---- */
.bstocks-3am .stripwrap{border-top:1px solid var(--line);border-bottom:1px solid var(--line);margin:46px auto;max-width:var(--wide)}
.bstocks-3am .stripwrap::before{content:"";display:block;height:2px;background:var(--gradient);margin-bottom:-1px}
.bstocks-3am .strip{display:grid;grid-template-columns:repeat(5,1fr);padding:0 26px}
.bstocks-3am .strip.c4{grid-template-columns:repeat(4,1fr)}
.bstocks-3am .strip .cell{padding:26px 20px 24px 0;border-right:1px solid var(--line-2)}
.bstocks-3am .strip .cell:last-child{border-right:none;padding-right:0}
.bstocks-3am .strip .fig{font-weight:500;color:var(--bq-white);font-size:clamp(26px,3.2vw,38px);line-height:1;letter-spacing:-1.2px;font-variant-numeric:tabular-nums}
.bstocks-3am .strip .fig.loss{color:var(--loss)}
.bstocks-3am .strip .fig.gain{color:var(--teal)}
.bstocks-3am .strip .lab{font-size:12.5px;line-height:1.4;color:var(--bq-dark-grey);margin-top:12px}

/* ---- pull quote ---- */
.bstocks-3am .pull{margin:50px 0;padding:30px 0 28px;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.bstocks-3am .pull .q{font-weight:500;font-size:clamp(22px,3vw,29px);line-height:1.2;letter-spacing:-.8px;color:var(--bq-white);margin:0;text-wrap:pretty}
.bstocks-3am .pull .attr{margin:16px 0 0;font-size:11px;letter-spacing:1px;text-transform:uppercase;color:var(--bq-dark-grey);font-weight:500}
.bstocks-3am .pull .attr b{color:var(--teal-muted);font-weight:500}

/* ---- figures ---- */
.bstocks-3am figure{margin:46px auto;max-width:var(--wide);padding:0 26px}
.bstocks-3am .chartcard{background:var(--card);border:1px solid var(--line);border-radius:14px;padding:22px 22px 18px;box-shadow:0 1px 2px rgba(0,0,0,.5),0 12px 34px rgba(0,0,0,.35);overflow-x:auto}
.bstocks-3am .chartcard .ftitle{font-weight:500;font-size:18px;line-height:24px;letter-spacing:-.2px;color:var(--bq-white);margin:0 0 6px}
.bstocks-3am .chartcard .fsub{font-size:13px;line-height:1.5;color:var(--bq-dark-grey);margin:0 0 16px;max-width:46rem}
.bstocks-3am .chartcard svg{display:block;width:100%;height:auto;min-width:540px}
.bstocks-3am .chartcard text{font-family:var(--font)}
.bstocks-3am .legend{display:flex;flex-wrap:wrap;gap:8px 20px;margin:14px 0 2px;font-size:11.5px;letter-spacing:.3px;color:var(--bq-dark-grey)}
.bstocks-3am .legend i{display:inline-block;width:11px;height:11px;border-radius:2px;margin-right:7px;vertical-align:-1px}
.bstocks-3am figcaption{font-size:13px;line-height:1.55;color:var(--bq-dark-grey);margin-top:16px;padding-left:16px;border-left:2px solid var(--line);max-width:44rem}
.bstocks-3am figcaption b{color:var(--bq-grey);font-weight:500}

/* ---- tables ---- */
.bstocks-3am .tablewrap{margin:46px auto;max-width:var(--wide);padding:0 26px}
.bstocks-3am .tablewrap .ftitle{font-weight:500;font-size:18px;line-height:24px;letter-spacing:-.2px;color:var(--bq-white);margin:0 0 6px}
.bstocks-3am .tablewrap .fsub{font-size:13px;line-height:1.5;color:var(--bq-dark-grey);margin:0 0 16px;max-width:46rem}
.bstocks-3am .tbl{background:var(--card);border:1px solid var(--line);border-radius:14px;overflow-x:auto}
.bstocks-3am table{width:100%;border-collapse:collapse;min-width:600px}
.bstocks-3am th{font-size:10px;letter-spacing:1px;text-transform:uppercase;font-weight:500;color:var(--bq-dark-grey);text-align:right;padding:16px 14px;border-bottom:1px solid var(--line);white-space:nowrap;background:rgba(17,28,50,.5)}
.bstocks-3am th:first-child, .bstocks-3am td:first-child{text-align:left;padding-left:22px}
.bstocks-3am th:last-child, .bstocks-3am td:last-child{padding-right:22px}
.bstocks-3am td{font-size:14.5px;padding:14px;text-align:right;border-bottom:1px solid var(--line-2);color:var(--bq-grey);font-variant-numeric:tabular-nums;white-space:nowrap}
.bstocks-3am tr:last-child td{border-bottom:none}
.bstocks-3am td.name{color:var(--bq-white);font-weight:500;white-space:normal}
.bstocks-3am td.gain{color:var(--gain)}
.bstocks-3am td.loss{color:var(--loss)}
.bstocks-3am tr.hl td{background:rgba(147,37,75,.14)}
.bstocks-3am tr.hl td.name{color:#fff}
.bstocks-3am tr.tot td{color:var(--bq-white);font-weight:500;background:rgba(255,255,255,.03)}
.bstocks-3am .tnote{font-size:12.5px;color:var(--bq-dark-grey);margin:14px 0 0;padding-left:16px;border-left:2px solid var(--line)}

/* ---- callout ---- */
.bstocks-3am .callout{margin:46px auto;max-width:var(--measure);background:var(--card);border:1px solid var(--line);border-left:3px solid var(--magenta);border-radius:14px;padding:28px 30px}
.bstocks-3am .callout.warn{border-left-color:var(--cta);background:linear-gradient(180deg,rgba(147,37,75,.12) 0%,#0c121c 60%)}
.bstocks-3am .callout .lab{font-size:10px;letter-spacing:1px;text-transform:uppercase;font-weight:500;color:var(--pink-soft);margin:0 0 10px}
.bstocks-3am .callout h3{font-weight:500;font-size:22px;line-height:26px;letter-spacing:-.1px;color:var(--bq-white);margin:0 0 12px}
.bstocks-3am .callout p{font-size:15px;line-height:1.62;color:var(--bq-grey);margin:0 0 1em}
.bstocks-3am .callout p:last-child{margin-bottom:0}
.bstocks-3am .addr{font-family:var(--mono);font-size:.82em;background:rgba(255,255,255,.05);color:var(--bq-white);padding:3px 7px;border-radius:5px;word-break:break-all;border:1px solid var(--line-2)}

/* ---- method / corrections / limits / resources ---- */
.bstocks-3am .method{max-width:var(--wide);margin:56px auto;padding:0 26px}
.bstocks-3am .method .inner{background:linear-gradient(180deg,#0c121c 0%,#0a1017 100%);border:1px solid var(--line);border-left:3px solid var(--magenta);border-radius:14px;padding:34px 38px}
.bstocks-3am .method .lab{font-size:10px;letter-spacing:1px;text-transform:uppercase;font-weight:500;margin:0 0 8px;color:var(--pink-soft)}
.bstocks-3am .method h2{margin:0 0 14px;font-size:clamp(24px,3vw,30px)}
.bstocks-3am .method p{font-size:15px;line-height:1.66;color:var(--bq-dark-grey);margin:0 0 1.1em;max-width:44rem}
.bstocks-3am .method p b{color:var(--bq-grey);font-weight:500}
.bstocks-3am .method p:last-child{margin-bottom:0}
.bstocks-3am .res{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin:20px 0 0}
.bstocks-3am .res a{display:block;background:rgba(255,255,255,.03);border:1px solid var(--line);border-radius:10px;padding:20px 22px;color:var(--bq-white);text-decoration:none}
.bstocks-3am .res a:hover{border-color:var(--cta-border);background:rgba(147,37,75,.12)}
.bstocks-3am .res .rt{font-weight:500;font-size:16px;letter-spacing:-.2px;margin-bottom:6px;color:var(--bq-white)}
.bstocks-3am .res .rd{font-size:13.5px;line-height:1.5;color:var(--bq-dark-grey)}
.bstocks-3am .res .ru{font-family:var(--mono);font-size:11.5px;color:var(--teal-muted);margin-top:10px;word-break:break-all}

/* ---- CTA band ---- */
.bstocks-3am .cta-band{max-width:var(--wide);margin:56px auto 0;padding:0 26px}
.bstocks-3am .cta-band .inner{background:linear-gradient(180deg,#06090d 0%,#142739 100%);border:1px solid var(--line);border-radius:14px;padding:40px 38px;display:flex;flex-wrap:wrap;gap:24px;align-items:center;justify-content:space-between}
.bstocks-3am .cta-band h3{font-weight:500;font-size:clamp(22px,2.6vw,28px);line-height:1.2;letter-spacing:-.6px;color:var(--bq-white);margin:0 0 8px;max-width:26rem}
.bstocks-3am .cta-band p{margin:0;font-size:15px;color:var(--bq-grey);max-width:30rem}
.bstocks-3am .btns{display:flex;gap:12px;flex-wrap:wrap}
.bstocks-3am .btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;font-weight:500;font-size:16px;line-height:22px;letter-spacing:-.2px;border-radius:4px;padding:15px 24px;border:1px solid transparent;border-bottom:1px solid transparent;cursor:pointer;text-decoration:none;white-space:nowrap;transition:background .15s ease,border-color .15s ease}
.bstocks-3am .btn-primary{background:var(--cta);color:#fff}
.bstocks-3am .btn-primary:hover{background:var(--cta-hover);color:#fff}
.bstocks-3am .btn-secondary{background:transparent;color:#fff;border-color:var(--cta-border)}
.bstocks-3am .btn-secondary:hover{background:rgba(147,37,75,.14);color:#fff}

/* ---- footer ---- */
.bstocks-3am footer{max-width:var(--wide);margin:56px auto 80px;padding:26px 26px 0}
.bstocks-3am footer .in{border-top:1px solid var(--line);padding-top:26px;font-size:13.5px;color:var(--bq-dark-grey);line-height:1.6;display:flex;flex-wrap:wrap;gap:14px;justify-content:space-between}
.bstocks-3am footer .lg{font-weight:700;color:var(--bq-white);letter-spacing:-.01em;font-size:16px}

/* ---- page-local: act rubrics, self-corrections, genuine/counterfeit two-up,
       vanity-address pair ---- */
.bstocks-3am .rubric{max-width:var(--wide);margin:72px auto 0;padding:0 26px}
.bstocks-3am .rubric .in{display:flex;align-items:center;gap:18px;font-size:10px;letter-spacing:2.4px;text-transform:uppercase;font-weight:500;color:var(--pink-soft)}
.bstocks-3am .rubric .in::after{content:"";flex:1;height:1px;background:var(--line)}
.bstocks-3am .rubric+.wrap .body h2, .bstocks-3am .rubric+.wrap h2{margin-top:22px}

.bstocks-3am .corr{max-width:var(--wide);margin:34px auto 0;padding:0 26px}
.bstocks-3am .corr ol{list-style:none;counter-reset:c;margin:0;padding:0;display:grid;gap:14px}
.bstocks-3am .corr li{counter-increment:c;background:var(--card);border:1px solid var(--line);border-radius:12px;padding:22px 26px}
.bstocks-3am .corr h4{margin:0 0 10px;font-weight:500;font-size:15px;line-height:1.35;letter-spacing:1.1px;text-transform:uppercase;color:var(--bq-white);display:flex;gap:12px}
.bstocks-3am .corr h4::before{content:counter(c);font-family:var(--mono);color:var(--teal-muted);letter-spacing:0}
.bstocks-3am .corr p{margin:0;font-size:14.5px;line-height:1.6;color:var(--bq-grey)}
.bstocks-3am .corr p b{color:var(--bq-white);font-weight:500}

.bstocks-3am .dual{max-width:var(--wide);margin:46px auto;padding:0 26px;display:grid;grid-template-columns:1fr 1fr;gap:16px}
.bstocks-3am .dual .side{background:var(--card);border:1px solid var(--line);border-radius:14px;padding:26px 28px}
/* Left card is the genuine token (teal label), right card the counterfeit — tinted
   maroon with the CTA border. This inverts the sibling xStocks article, where the
   right-hand card was the positive one. */
.bstocks-3am .dual .side.b{background:linear-gradient(180deg,rgba(147,37,75,.16) 0%,#0c121c 70%);border-color:var(--cta-border)}
.bstocks-3am .dual .lab{font-size:10px;letter-spacing:1.4px;text-transform:uppercase;font-weight:500;color:var(--teal-muted);margin:0 0 16px}
.bstocks-3am .dual .side.b .lab{color:var(--pink-soft)}
.bstocks-3am .dual .n{font-weight:500;color:var(--bq-white);font-size:38px;line-height:1;letter-spacing:-1.4px;font-variant-numeric:tabular-nums}
.bstocks-3am .dual .n.sm{font-size:26px;letter-spacing:-.8px}
.bstocks-3am .dual .sub{font-size:12.5px;line-height:1.4;color:var(--bq-dark-grey);margin:10px 0 0}
.bstocks-3am .dual .row{display:flex;gap:34px;flex-wrap:wrap}
.bstocks-3am .dual .meta{margin:20px 0 0;padding-top:16px;border-top:1px solid var(--line-2);font-size:13.5px;line-height:1.5;color:var(--bq-grey)}
.bstocks-3am .dual .meta b{color:var(--bq-white);font-weight:500}

/* Vanity-address pair: the matching head and tail characters are wrapped in <em>,
   rendered upright and highlighted rather than italic. */
.bstocks-3am .addrpair{display:grid;gap:10px;margin:14px 0 0}
.bstocks-3am .addrpair div{display:flex;flex-wrap:wrap;gap:10px;align-items:baseline;font-size:13px;color:var(--bq-dark-grey)}
.bstocks-3am .addrpair .tag{font-size:10px;letter-spacing:1px;text-transform:uppercase;font-weight:500;min-width:6.4rem}
.bstocks-3am .addrpair .tag.real{color:var(--teal-muted)}
.bstocks-3am .addrpair .tag.fake{color:var(--pink-soft)}
.bstocks-3am .addrpair em{font-style:normal;color:#fff;background:rgba(249,63,156,.22);border-radius:3px;padding:0 2px}

/* ---- responsive ---- */
@media (max-width:820px){
  .bstocks-3am .flist, .bstocks-3am .takeaways ol, .bstocks-3am .res, .bstocks-3am .dual{grid-template-columns:1fr}
  .bstocks-3am .flist li:nth-child(2n){padding-left:0;border-left:none}
  .bstocks-3am .strip, .bstocks-3am .strip.c4{grid-template-columns:1fr 1fr}
  .bstocks-3am .strip .cell{padding:20px 16px 18px 0}
  .bstocks-3am .strip .cell:nth-child(2n){border-right:none;padding-right:0}
}
@media (max-width:640px){
  .bstocks-3am{font-size:17px}
  .bstocks-3am header.article{padding-top:40px}
  .bstocks-3am .method .inner, .bstocks-3am .callout{padding:24px 22px}
  .bstocks-3am .cta-band .inner{padding:28px 24px}
  .bstocks-3am .wrap, .bstocks-3am .wide, .bstocks-3am figure, .bstocks-3am .tablewrap,
  .bstocks-3am .findings, .bstocks-3am .method, .bstocks-3am .cta-band,
  .bstocks-3am .rubric, .bstocks-3am .corr, .bstocks-3am .dual{padding-left:20px;padding-right:20px}
  .bstocks-3am .fhead, .bstocks-3am .flist{padding-left:22px;padding-right:22px}
}
@media print{
  .bstocks-3am{background:#fff}
}
