#active-market-cap-root {
  --amv-blue:#2563eb; --amv-red:#e53935; --amv-green:#2e7d32;
  color:#19283e; background:#fff; border:1px solid #e0e6ef; border-radius:12px;
  overflow:hidden; min-width:0; font-family:Inter,-apple-system,BlinkMacSystemFont,"Microsoft YaHei",sans-serif; font-variant-numeric:tabular-nums;
}
#active-market-cap-root .amv-heading {display:flex; align-items:center; gap:10px; min-height:54px; padding:0 17px; background:#f8fafc; border-bottom:1px solid #e0e6ef;}
#active-market-cap-root .amv-heading h2 {display:flex; align-items:center; gap:7px; margin:0; font-family:inherit; font-size:15px; font-weight:650; line-height:1.4; letter-spacing:0;}
#active-market-cap-root .amv-heading svg {width:17px; height:17px; color:var(--amv-blue);}
#active-market-cap-root .amv-explain, #active-market-cap-root .amv-retry {border:0; padding:6px 4px; background:transparent; box-shadow:none; border-radius:3px; color:#5c7190; font:inherit; font-size:12px; cursor:pointer;}
#active-market-cap-root .amv-explain::before {content:'›'; display:inline-block; margin-right:9px; color:#8999ad;}
#active-market-cap-root .amv-explain[aria-expanded=true]::before {transform:rotate(90deg);}
#active-market-cap-root .amv-notes {margin:0; padding:11px 18px; color:#526477; background:#f8fafc; border-bottom:1px solid #e0e6ef; font-size:13px; line-height:1.75;}
#active-market-cap-root .amv-notes a {color:var(--amv-blue);}
#active-market-cap-root .amv-message {padding:22px 18px; color:#536479; font-size:14px; line-height:1.65;}
#active-market-cap-root .amv-retry {margin-left:10px; color:var(--amv-blue);}
#active-market-cap-root .amv-plot {position:relative; isolation:isolate; height:clamp(440px,76vh,920px); width:100%; background:#fff; overflow:hidden;}
#active-market-cap-root .amv-plot canvas {display:block; width:100%; height:100%; touch-action:pan-y; border:0; border-radius:0; padding:0; margin:0; cursor:crosshair;}
#active-market-cap-root .amv-plot canvas:focus-visible {outline:2px solid #2563eb; outline-offset:-2px;}
#active-market-cap-root .amv-values, #active-market-cap-root .amv-macd {position:absolute; z-index:1; pointer-events:none; padding:3px 7px; white-space:normal; display:flex; align-items:center; gap:2px 13px; flex-wrap:wrap; color:#19283e; border-radius:5px; background:rgba(255,255,255,.94);}
#active-market-cap-root .amv-values {top:12px; left:14px; max-width:calc(100% - 90px); font-size:12px; font-weight:650; line-height:1.5; box-shadow:0 1px 3px #112b4710;}
#active-market-cap-root .amv-values span, #active-market-cap-root .amv-macd span {white-space:nowrap;}
#active-market-cap-root [data-amv=average] {color:var(--amv-blue);}
#active-market-cap-root [data-sign=up] {color:var(--amv-red);}
#active-market-cap-root [data-sign=down] {color:var(--amv-green);}
#active-market-cap-root [data-sign=flat] {color:#64748b;}
#active-market-cap-root .amv-macd {left:7px; gap:3px; font-size:10px; line-height:1.4; color:#64748b;}
#active-market-cap-root [data-amv=dif] {color:#8452ff;}
#active-market-cap-root [data-amv=dea] {color:#ef8c00;}
#active-market-cap-root [hidden] {display:none!important;}
@media(max-width:640px){
  #active-market-cap-root {border-radius:9px;}
  #active-market-cap-root .amv-heading {min-height:46px; padding:0 11px;}
  #active-market-cap-root .amv-plot {height:clamp(385px,68svh,630px);}
  #active-market-cap-root .amv-values {top:5px; left:5px; max-width:calc(100% - 55px); gap:0 8px; padding:3px 5px; font-size:11px; line-height:1.55;}
  #active-market-cap-root .amv-macd {left:1px;}
}
