:root{
  --bg:#0b0d10;
  --surface:#111418;
  --surface-2:#161a20;
  --line:rgba(255,255,255,.08);
  --line-strong:rgba(255,255,255,.14);
  --text:#e6e8eb;
  --muted:#9aa3ad;
  --dim:#68717c;
  --gold:#c9a44c;
  --up:#58a77b;
  --down:#c66b67;
  --warn:#c8944d;
  --sans:"Heebo",system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
}
*{box-sizing:border-box;margin:0;padding:0}
html{background:var(--bg);color-scheme:dark}
body{
  min-width:320px;
  overflow-x:hidden;
  background:var(--bg);
  color:var(--text);
  font-family:var(--sans);
  font-size:14px;
  line-height:1.55;
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
}
button{font-family:inherit}
a{color:inherit}
.num{
  direction:ltr;
  unicode-bidi:isolate;
  font-family:var(--sans);
  font-variant-numeric:tabular-nums;
}
.wrap{width:min(100% - 24px,1200px);margin-inline:auto}

/* Sticky application bar */
.top{
  position:sticky;
  z-index:30;
  top:0;
  display:flex;
  min-height:56px;
  align-items:center;
  justify-content:space-between;
  border-bottom:1px solid var(--line);
  background:rgba(11,13,16,.96);
}
.brand{
  display:flex;
  align-items:center;
  gap:9px;
  text-decoration:none;
}
.brand img{width:28px;height:28px;border-radius:5px}
.brand b{
  direction:ltr;
  font-size:12px;
  font-weight:700;
  letter-spacing:.08em;
}
.acts{display:flex;align-items:center;gap:12px}
.logout{
  display:flex;
  align-items:center;
  gap:6px;
  padding:6px 0;
  border:0;
  border-bottom:1px solid transparent;
  background:transparent;
  color:var(--muted);
  cursor:pointer;
  font-size:12px;
}
.logout svg{width:13px;color:var(--dim)}
.logout:hover{border-color:var(--gold);color:var(--text)}
.user{display:flex;align-items:center}
.user .av{
  display:grid;
  width:28px;
  height:28px;
  place-items:center;
  border:1px solid rgba(201,164,76,.45);
  border-radius:6px;
  background:var(--surface);
  color:var(--gold);
  font-size:12px;
  font-weight:700;
}
button:focus-visible,a:focus-visible,summary:focus-visible{
  outline:2px solid var(--gold);
  outline-offset:3px;
}

/* Price table */
.strip{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  margin-top:16px;
  overflow:hidden;
  border:1px solid var(--line);
  border-radius:8px;
  background:var(--surface);
}
.tk{
  min-width:0;
  padding:12px;
  border-inline-start:1px solid var(--line);
}
.tk:first-child{border-inline-start:0}
.tk .s{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  overflow:hidden;
  color:var(--muted);
  direction:ltr;
  font-size:10px;
  font-weight:600;
  letter-spacing:.03em;
  text-overflow:ellipsis;
  white-space:nowrap;
  gap:5px;
}
.tk .s i{width:5px;height:5px;border-radius:50%;flex:none}
.tk .p{
  overflow:hidden;
  margin-top:3px;
  direction:ltr;
  font-size:16px;
  font-weight:600;
  font-variant-numeric:tabular-nums;
  text-align:right;
  text-overflow:ellipsis;
}
.tk .c{
  direction:ltr;
  font-size:11px;
  font-variant-numeric:tabular-nums;
  text-align:right;
}
.up{color:var(--up)}
.down{color:var(--down)}
.flat{color:var(--dim)}
.dot-up{background:var(--up)}
.dot-down{background:var(--down)}
.dot-flat{background:var(--dim)}

.meta{
  display:flex;
  align-items:baseline;
  justify-content:space-between;
  margin:28px 0 12px;
  gap:16px;
}
.meta h1{font-size:24px;font-weight:600;letter-spacing:-.025em}
.meta span{color:var(--muted);font-size:12px}

/* Card system */
.grid{display:grid;gap:12px}
.card{
  min-width:0;
  padding:20px;
  border:1px solid var(--line);
  border-radius:8px;
  background:var(--surface);
}
.card-h{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  padding-bottom:16px;
  border-bottom:1px solid var(--line);
  gap:12px;
}
.card-h h2{font-size:16px;font-weight:600;line-height:1.4}
.card-h .sub{
  display:block;
  margin-top:2px;
  color:var(--muted);
  font-size:12px;
  font-weight:400;
}
.live{
  display:inline-flex;
  align-items:center;
  margin-top:2px;
  color:var(--dim);
  font-size:11px;
  white-space:nowrap;
  gap:6px;
}
.live i{width:5px;height:5px;border-radius:50%;background:var(--up)}
.cap{margin-top:12px;color:var(--dim);font-size:12px}
.foot{
  display:flex;
  align-items:center;
  justify-content:space-between;
  margin-top:12px;
  padding-top:12px;
  border-top:1px solid var(--line);
  gap:12px;
}
.foot .cap{margin-top:0}
details.what{
  margin-top:14px;
  padding-top:12px;
  border-top:1px solid var(--line);
}
.foot details.what{margin:0;padding:0;border:0}
details.what summary{
  display:inline-flex;
  align-items:center;
  color:var(--muted);
  cursor:pointer;
  font-size:12px;
  list-style:none;
  gap:6px;
}
details.what summary:hover{color:var(--text)}
details.what summary::-webkit-details-marker{display:none}
details.what summary .q{
  display:grid;
  width:16px;
  height:16px;
  place-items:center;
  border:1px solid var(--line-strong);
  border-radius:50%;
  color:var(--dim);
  font-size:10px;
}
details.what p{
  max-width:720px;
  margin-top:10px;
  color:var(--muted);
  font-size:13px;
  line-height:1.7;
}

/* Market read */
.verdict{
  display:flex;
  align-items:flex-start;
  margin-top:16px;
  padding:14px;
  border-inline-start:2px solid var(--gold);
  background:var(--surface-2);
  color:var(--text);
  font-size:15px;
  font-weight:500;
  line-height:1.6;
  gap:10px;
}
.verdict svg{margin-top:3px;flex:none;color:var(--gold)}
.layers{margin-top:8px;list-style:none}
.layers li{
  display:grid;
  grid-template-columns:32px minmax(0,1fr);
  padding:12px 0;
  border-bottom:1px solid var(--line);
  gap:2px 8px;
}
.layers li:last-child{border-bottom:0}
.layers .n{
  display:grid;
  width:24px;
  height:24px;
  place-items:center;
  border:1px solid var(--line-strong);
  border-radius:4px;
  color:var(--muted);
  direction:ltr;
  font-size:11px;
  font-variant-numeric:tabular-nums;
}
.layers .k{font-size:14px;font-weight:600}
.layers .v{grid-column:2;color:var(--muted);font-size:13px}
.chip{
  display:inline-block;
  margin-inline-end:5px;
  padding:1px 6px;
  border:1px solid var(--line-strong);
  border-radius:4px;
  color:var(--text);
  direction:ltr;
  font-size:11px;
}

/* Whale positions */
.whales{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  margin-top:16px;
  border:1px solid var(--line);
  border-radius:6px;
  overflow:hidden;
}
.wc{
  min-width:0;
  padding:16px;
  background:var(--bg);
}
.wc+ .wc{border-inline-start:1px solid var(--line)}
.wc.hot{box-shadow:inset 0 2px var(--warn)}
.wc .sym{
  color:var(--muted);
  direction:ltr;
  font-size:11px;
  font-weight:600;
  letter-spacing:.06em;
  text-align:right;
}
.wc .big{
  overflow:hidden;
  margin-top:4px;
  direction:ltr;
  font-size:20px;
  font-weight:600;
  font-variant-numeric:tabular-nums;
  text-align:right;
  text-overflow:ellipsis;
}
.wc .lbl{color:var(--muted);font-size:11px}
.wc .usd{
  color:var(--text);
  direction:ltr;
  unicode-bidi:isolate;
  font-variant-numeric:tabular-nums;
}
.wc svg.spark{display:block;width:100%;height:40px;margin:12px 0 8px}
.kv{
  display:flex;
  justify-content:space-between;
  padding:5px 0;
  border-top:1px solid var(--line);
  font-size:12px;
}
.kv>span:first-child{color:var(--muted)}   /* direct child only: value wrappers hold nested .num spans (RTL fix 12.10) */
.alert{
  display:flex;
  align-items:flex-start;
  margin-top:12px;
  padding:10px 12px;
  border:1px solid rgba(200,148,77,.35);
  border-radius:6px;
  background:rgba(200,148,77,.06);
  color:#d4b06d;
  font-size:13px;
  line-height:1.5;
  gap:8px;
}
.alert svg{margin-top:1px;flex:none}

/* Liquidations and funding */
.legend{
  display:flex;
  flex-wrap:wrap;
  margin-top:12px;
  color:var(--muted);
  font-size:11px;
  gap:16px;
}
.legend i{
  display:inline-block;
  width:8px;
  height:8px;
  margin-inline-end:5px;
  border-radius:2px;
}
.row-pills{display:flex;flex-wrap:wrap;margin-top:14px;gap:8px}
.pill{
  display:inline-flex;
  align-items:center;
  padding:5px 9px;
  border:1px solid var(--line);
  border-radius:5px;
  background:var(--bg);
  color:var(--muted);
  font-size:11px;
  gap:5px;
}
.pill .num{color:var(--text)}

/* Nasdaq */
.nq{
  display:flex;
  align-items:center;
  margin-top:16px;
  gap:16px;
}
.verdict-pill{
  flex:none;
  padding:7px 10px;
  border:1px solid var(--line-strong);
  border-radius:5px;
  background:var(--bg);
  color:var(--text);
  font-size:13px;
  font-weight:600;
}
.nq svg{height:56px;min-width:0;flex:1}

/* Calendar list */
.ev{margin-top:4px;list-style:none}
.ev li{
  display:grid;
  grid-template-columns:64px minmax(0,1fr);
  align-items:center;
  padding:12px 0;
  border-bottom:1px solid var(--line);
  gap:12px;
}
.ev li:last-child{border-bottom:0}
.ev .d{
  padding-inline-end:12px;
  border-inline-end:1px solid var(--line);
  text-align:right;
}
.ev .d b{display:block;color:var(--text);font-size:13px;font-weight:600}
.ev .d span{
  display:block;
  color:var(--muted);
  direction:ltr;
  font-size:11px;
  font-variant-numeric:tabular-nums;
  text-align:right;
}
.ev .t{font-size:13px;font-weight:500}
.ev .t small{display:block;color:var(--muted);font-size:11px;font-weight:400}
.imp{
  display:inline-block;
  width:5px;
  height:5px;
  margin-inline-end:6px;
  border-radius:50%;
  background:var(--warn);
  vertical-align:2px;
}

/* Footer */
footer{
  margin-top:24px;
  padding:24px 0 36px;
  border-top:1px solid var(--line);
  color:var(--dim);
  font-size:11px;
}
footer .disc{color:var(--muted)}
footer nav{display:flex;margin-top:10px;gap:12px}
footer nav a{color:var(--muted);text-decoration:none}
footer nav a:hover{color:var(--text)}
footer .line{
  direction:ltr;
  margin-top:16px;
  letter-spacing:.04em;
  text-align:right;
}

@media (min-width:760px){
  .wrap{width:min(100% - 48px,1200px)}
  .grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .grid .wide{grid-column:1/-1}
  .card{padding:24px}
}
@media (max-width:560px){
  .strip{overflow-x:auto}
  .tk{padding:10px 8px}
  .tk .s{font-size:9px}
  .tk .p{font-size:14px}
  .meta{margin-top:24px}
  .meta h1{font-size:21px}
  .card{padding:16px}
  .card-h{flex-direction:column}
  .live{white-space:normal}
  .whales{grid-template-columns:1fr}
  .wc+ .wc{border-top:1px solid var(--line);border-inline-start:0}
  .foot{align-items:flex-start;flex-direction:column}
  .nq{align-items:flex-start;flex-direction:column}
  .nq svg{width:100%;flex:none}
}
@media (prefers-reduced-motion:reduce){
  *{transition:none!important}
}


/* ===== Enriched board (owner 11.10) ===== */
html{scroll-behavior:smooth}
.snav{
  position:sticky;
  z-index:25;
  top:56px;
  display:flex;
  margin:12px 0 0;
  overflow-x:auto;
  border-bottom:1px solid var(--line);
  background:rgba(11,13,16,.96);
  gap:2px;
  scrollbar-width:none;
}
.snav::-webkit-scrollbar{display:none}
.snav a{
  flex:none;
  padding:10px 10px 9px;
  border-bottom:2px solid transparent;
  color:var(--muted);
  font-size:13px;
  text-decoration:none;
  white-space:nowrap;
}
.snav a:hover,.snav a:focus-visible{border-color:var(--gold);color:var(--text)}
.sec{scroll-margin-top:112px}
.sec-h{
  display:flex;
  align-items:baseline;
  flex-wrap:wrap;
  margin:32px 0 12px;
  gap:4px 12px;
}
.sec-h h2{font-size:19px;font-weight:600;letter-spacing:-.01em}
.sec-h h2::before{
  content:"";
  display:inline-block;
  width:3px;
  height:14px;
  margin-inline-end:8px;
  background:var(--gold);
  vertical-align:-1px;
}
.sec-h span{color:var(--muted);font-size:12px}
.src{
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  color:var(--dim);
  font-size:11px;
  gap:6px 8px;
}
.badge{
  display:inline-block;
  padding:2px 7px;
  border:1px solid rgba(201,164,76,.35);
  border-radius:4px;
  color:var(--gold);
  font-size:10.5px;
  white-space:nowrap;
}
.na{color:var(--dim)}
.gold-t{color:var(--gold)}
.big-label{
  margin:14px 0 10px;
  font-size:20px;
  font-weight:600;
  letter-spacing:-.01em;
}
.big-label.flat{color:var(--text)}
.mini-h{
  margin:16px 0 8px;
  color:var(--muted);
  font-size:12px;
  font-weight:500;
}
.kv small{color:var(--dim);font-size:10.5px}
.chips2{display:flex;flex-wrap:wrap;gap:6px}
.chip2{
  display:inline-flex;
  align-items:center;
  padding:4px 8px;
  border:1px solid var(--line);
  border-radius:5px;
  background:var(--bg);
  color:var(--muted);
  font-size:11.5px;
  gap:6px;
}
.chip2 b{color:var(--text);font-weight:600}
svg.sbar{display:block;width:100%;height:8px;border-radius:2px}
svg.sbar rect.fl,svg.tl rect.fl{fill:#c9a45c}
svg.sbar rect.fs,svg.tl rect.fs{fill:#6fa8c9}
svg.sbar rect.fu,svg.cbar rect.fu{fill:var(--up)}
svg.sbar rect.fd,svg.cbar rect.fd{fill:var(--down)}
svg.sbar rect.empty{fill:rgba(255,255,255,.06)}
svg.meter{display:block;width:100%;height:6px;margin:2px 0 6px}
svg.meter rect.bg{fill:rgba(255,255,255,.06)}
svg.meter rect.fg{fill:var(--gold)}
svg.tl{display:block;width:100%;height:64px}
svg.cbar{display:block;width:100%;height:8px}
svg.cbar line.axis{stroke:rgba(255,255,255,.18);stroke-width:1;vector-effect:non-scaling-stroke}
.wc svg.spark.sm{height:28px;margin:6px 0}

.tw{width:100%;overflow-x:auto}
.tbl{width:100%;border-collapse:collapse;font-size:12px}
.tbl th{
  padding:6px 4px;
  border-bottom:1px solid var(--line-strong);
  color:var(--dim);
  font-size:10.5px;
  font-weight:500;
  text-align:right;
  white-space:nowrap;
}
.tbl td{
  padding:7px 4px;
  border-bottom:1px solid var(--line);
  text-align:right;
  white-space:nowrap;
}
.tbl tr:last-child td{border-bottom:0}
.tbl td.sym{font-weight:600}
.tbl td svg.sbar{min-width:48px}
.flag{
  margin-inline-start:5px;
  padding:0 4px;
  border:1px solid rgba(200,148,77,.4);
  border-radius:3px;
  color:var(--warn);
  font-size:9.5px;
  font-weight:500;
}

.kvg{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  margin-top:14px;
  border:1px solid var(--line);
  border-radius:6px;
  overflow:hidden;
}
.kvg>div{
  display:flex;
  flex-direction:column;
  padding:10px 12px;
  border-bottom:1px solid var(--line);
  background:var(--bg);
  gap:2px;
}
.kvg>div:nth-child(odd){border-inline-end:1px solid var(--line)}
.kvg>div>span:first-child{color:var(--muted);font-size:11px}
.kvg>div>span:first-child small{color:var(--dim)}
.kvg>div>span:last-child{font-size:15px;font-weight:600}

.chg{list-style:none}
.chg li{
  display:flex;
  flex-direction:column;
  padding:9px 0;
  border-bottom:1px solid var(--line);
  gap:3px;
}
.chg li:last-child{border-bottom:0}
.ch-a{display:flex;align-items:baseline;gap:8px}
.ch-a b{font-size:13px}
.tag-s{color:var(--gold);font-size:11px}
.ch-b{display:flex;flex-wrap:wrap;color:var(--muted);font-size:11.5px;gap:4px 14px}

.alist{list-style:none;margin-top:8px}
.alist li{
  display:grid;
  grid-template-columns:40px 58px minmax(0,1fr) auto;
  align-items:baseline;
  padding:7px 0;
  border-bottom:1px solid var(--line);
  font-size:12px;
  gap:8px;
}
.alist li:last-child{border-bottom:0}
.alist .t{color:var(--dim);font-size:11px}
.alist .r{color:var(--text)}
.alist li>span:last-child{font-size:11px;white-space:nowrap}

.lm{display:grid;margin-top:14px;gap:8px}
.lm-row{
  display:grid;
  grid-template-columns:52px minmax(0,1fr) 62px;
  align-items:center;
  gap:4px 10px;
}
.lm-v{font-size:12px;text-align:left}
.lm-w{color:var(--muted);font-size:12px}
.lm-d{grid-column:2/-1;color:var(--dim);font-size:11px}

.quad{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  border:1px solid var(--line);
  border-radius:6px;
  overflow:hidden;
}
.qc{
  position:relative;
  min-height:76px;
  padding:10px;
  border-bottom:1px solid var(--line);
  background:var(--bg);
  color:var(--dim);
}
.qc:nth-child(odd){border-inline-end:1px solid var(--line)}
.qc:nth-child(n+3){border-bottom:0}
.qc b{display:block;font-size:13px;font-weight:600}
.qc small{display:block;margin-top:2px;font-size:10.5px}
.qc.on{background:var(--surface-2);color:var(--text);box-shadow:inset 0 0 0 1px rgba(201,164,76,.55)}
.qc.on.g b{color:var(--up)}
.qc.on.r b{color:var(--down)}
.qt{
  display:inline-block;
  margin-top:6px;
  margin-inline-end:4px;
  padding:0 5px;
  border-radius:3px;
  background:rgba(201,164,76,.15);
  color:var(--gold);
  font-size:10px;
}

.walls{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  margin:14px 0 6px;
  border:1px solid var(--line);
  border-radius:6px;
  overflow:hidden;
}
.walls .w{
  display:flex;
  flex-direction:column;
  padding:10px 8px;
  background:var(--bg);
  text-align:center;
  gap:2px;
}
.walls .w+.w{border-inline-start:1px solid var(--line)}
.walls .w small{color:var(--muted);font-size:10.5px}
.walls .w b{font-size:15px;font-weight:600}
.walls .w span{font-size:11px}
.walls .mid{background:var(--surface-2)}
.walls .mid b{color:var(--gold)}

.ctx{list-style:none;margin-top:8px}
.ctx li{
  display:flex;
  flex-direction:column;
  padding:10px 0;
  border-bottom:1px solid var(--line);
  gap:2px;
}
.ctx li:last-child{border-bottom:0}
.ctx li>span:first-child{color:var(--muted);font-size:11.5px}
.ctx li b,.ctx li>span.flat{font-size:13.5px}
.ctx small{color:var(--dim);font-size:11px}

.bt{display:grid;margin-top:12px;gap:6px}
.bt-row{
  display:grid;
  grid-template-columns:48px minmax(0,1fr) 48px 52px;
  align-items:center;
  font-size:12px;
  gap:8px;
}
.bt-row .sym{font-weight:600}
.bt-row span:nth-child(3),.bt-row span:nth-child(4){text-align:left}

@media (min-width:760px){
  .snav{margin-top:16px}
  .kvg{grid-template-columns:repeat(3,minmax(0,1fr))}
  .kvg>div:nth-child(odd){border-inline-end:0}
  .kvg>div:not(:nth-child(3n)){border-inline-end:1px solid var(--line)}
}
@media (max-width:560px){
  .sec-h{margin-top:26px}
  .alist li{grid-template-columns:36px 50px minmax(0,1fr);}
  .alist li>span:last-child{grid-column:3}
  .tbl{font-size:11.5px}
  .tbl th,.tbl td{padding-inline:3px}
}

/* ===== Home hero scene (owner 10837): PHONES ONLY. Desktop (760px+) never shows it; hero.js checks the same query
   before creating a WebGL context. Without JS / WebGL2, or with reduced motion, a static logo + ring is shown (CSS only). */
#hero-bg{display:none}
@media (max-width:759px){
  #hero-bg{display:block;position:absolute;top:0;left:0;right:0;height:var(--hero-h,600px);z-index:0;overflow:hidden;pointer-events:none;
    -webkit-mask-image:linear-gradient(to bottom,#000 78%,transparent 100%);mask-image:linear-gradient(to bottom,#000 78%,transparent 100%)}
  #hero-gl{position:absolute;inset:0;width:100%;height:100%;display:block}
  #hero-logo{position:absolute;left:var(--hero-cx,50%);top:var(--hero-cy,203px);width:var(--hero-ls,96px);height:var(--hero-ls,96px);
    transform:translate(-50%,-50%);border-radius:50%;display:block;box-shadow:0 0 0 1px rgba(214,166,74,.55),0 0 18px rgba(214,166,74,.28)}
  #hero-scrim{position:absolute;inset:0;background:linear-gradient(to bottom,rgba(11,13,16,0) 52%,rgba(11,13,16,.82) 66%,rgba(11,13,16,.96) 80%)}
  /* static final-frame look: thin tilted gold ring around the logo */
  #hero-bg::before{content:"";position:absolute;left:50%;top:203px;width:262px;height:124px;transform:translate(-50%,-50%);border-radius:50%;
    border:1.5px solid rgba(240,212,150,.62);box-shadow:0 0 14px rgba(214,166,74,.35),inset 0 0 14px rgba(214,166,74,.22)}
  #hero-bg~.wrap{position:relative;z-index:1}
  #hero-bg~.wrap>.top{background:linear-gradient(to bottom,rgba(11,13,16,.88),rgba(11,13,16,.55));border-bottom-color:rgba(201,164,76,.10)}
  #hero-bg~.wrap>.intro{margin-top:300px}
  /* live scene (hero.js adds .gl): the canvas draws ring and rim; the logo opacity is driven by the script */
  #hero-bg.gl::before{display:none}
  #hero-bg.gl #hero-logo{opacity:0;box-shadow:none}
}
/* motion allowed: until hero.js decides, the static look fades in late (safety net if the script never runs) */
@media (max-width:759px) and (prefers-reduced-motion:no-preference){
  #hero-bg:not(.gl):not(.static)::before,#hero-bg:not(.gl):not(.static) #hero-logo{animation:hero-in .8s ease-out 2.5s both}
}
@keyframes hero-in{from{opacity:0}to{opacity:1}}
