/* ═══════════════════════════════════════════════════════════════
   market.css — the workspace's Market overview panel (js/ui-market.js):
   Fear & Greed with its 30-day line, chains by DEX volume, Bitcoin.
   Flat like the other panels: hairlines, no fills behind the line.
   ═══════════════════════════════════════════════════════════════ */
.mk-b{padding-bottom:4px}
.mk-s{border-bottom:1px solid var(--line)}
.mk-s:last-child{border-bottom:0}
.mk-h{display:flex;align-items:baseline;gap:8px;padding:11px 12px 6px;min-width:0}
.mk-h > b{font-size:12.5px;font-weight:600;color:var(--text);white-space:nowrap}
.mk-src{margin-left:auto;font-size:11px;color:var(--faint);white-space:nowrap;text-decoration:none;transition:color .15s}
.mk-src:hover,.mk-src:focus-visible{color:var(--text-2);text-decoration:underline}
.mk-b .mid{color:var(--text-2)}
.mk-cap{display:flex;justify-content:space-between;gap:8px;padding:0 12px 4px;font-size:10.5px;color:var(--faint);white-space:nowrap}
.mk-cap span{overflow:hidden;text-overflow:ellipsis}
.mk-note{padding:0 12px 10px;font-size:11.5px;line-height:1.45;color:var(--faint)}
.mk-fail{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:2px 12px 12px;font-size:12px;color:var(--mute)}
.mk-load{display:flex;flex-direction:column;gap:9px;padding:4px 12px 14px}
.mk-load .skel{display:block;height:12px}

/* ── Fear & Greed ── */
.mk-fg{display:flex;align-items:center;gap:10px;padding:0 12px 8px;min-width:0}
.mk-fg-v{font:600 30px/1 var(--mono);letter-spacing:-.03em;min-width:2.1ch}
.mk-fg-t{display:flex;flex-direction:column;gap:3px;min-width:0}
.mk-fg-t b{font-size:13px;font-weight:600;white-space:nowrap}
.mk-fg-t span{font-size:11.5px;color:var(--mute);white-space:nowrap}
.mk-fg-c{margin-left:auto;display:flex;flex-direction:column;align-items:flex-end;gap:3px;font-size:11px;color:var(--mute);white-space:nowrap}
.mk-fg-c b{font:600 11.5px var(--mono)}
.mk-chart{padding:0 12px 12px}
.mk-plot{position:relative;height:72px}
.mk-area{position:absolute;top:0;bottom:0;left:0;right:24px;cursor:crosshair;touch-action:pan-y}
.mk-area svg{position:absolute;inset:0;width:100%;height:100%;overflow:visible}
.mk-gl{stroke:var(--line);stroke-width:1;vector-effect:non-scaling-stroke}
.mk-gl.z{stroke:var(--line-2);stroke-dasharray:3 3}
.mk-ln{fill:none;stroke:var(--brand);stroke-width:2;stroke-linejoin:round;stroke-linecap:round;vector-effect:non-scaling-stroke}
.mk-yl{position:absolute;right:0;width:20px;transform:translateY(-50%);text-align:right;font:500 10px/1 var(--mono);color:var(--faint);pointer-events:none}
.mk-xa{display:flex;justify-content:space-between;margin:6px 24px 0 0;font:500 10.5px var(--mono);color:var(--faint)}
.mk-cx{position:absolute;top:0;bottom:0;left:0;width:1px;background:var(--line-2);pointer-events:none}
.mk-dot{position:absolute;left:-5px;top:-5px;width:10px;height:10px;border-radius:50%;border:2px solid var(--card);background:var(--brand);pointer-events:none}
.mk-dot.up{background:var(--up)}.mk-dot.down{background:var(--down)}.mk-dot.mid{background:var(--text-2)}
.mk-tip{position:absolute;top:0;left:0;z-index:2;display:flex;flex-direction:column;gap:1px;padding:5px 8px;border-radius:var(--r);
  background:var(--card-2);border:1px solid var(--line-2);font-size:11px;color:var(--mute);white-space:nowrap;pointer-events:none}
.mk-tip.lo{top:auto;bottom:0}
.mk-tip b{font:600 12px var(--mono)}
.mk-area [hidden]{display:none}

/* ── chains ── */
.mk-row{min-height:50px;padding:7px 12px;color:inherit;text-decoration:none}
.mk-row:focus-visible{outline:2px solid var(--brand-line);outline-offset:-2px}
.mk-row.static{cursor:default}
.mk-row.static:hover{background:none}
.mk-rows .mk-row:last-child{border-bottom:0}
.mk-cm{position:relative;display:inline-flex;align-items:center;justify-content:center;width:28px;height:28px;border-radius:50%;flex-shrink:0}
.mk-cm svg{width:15px;height:15px}
.mk-row .dk-r > span:not([class]){color:var(--faint);font-size:11px}

/* ── Bitcoin ── */
.mk-blk{border-bottom:0}
.mk-blk .av{width:28px;height:28px;border-radius:50%}
.mk-fees{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;padding:0 12px 12px}
.mk-fee{display:flex;flex-direction:column;gap:2px;min-width:0;padding:7px 9px;border:1px solid var(--line);border-radius:var(--r);background:var(--bg-2)}
.mk-fee b{font:600 14px var(--mono)}
.mk-fee span{font-size:11px;color:var(--mute);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body.dens-compact .mk-row{min-height:42px;padding:5px 12px}
body.dens-comfy .mk-row{min-height:58px;padding:10px 14px}
