.hma{min-width:0;border:1px solid var(--line-soft);border-radius:12px;background:var(--surface);color:var(--text)}
.hma [hidden],.hma-toast[hidden]{display:none!important}
.hma-head{display:flex;gap:3px;align-items:center;min-height:42px;padding:1px 7px 1px 12px}
.hma-head h2{display:flex;align-items:center;gap:7px;margin:0 auto 0 0;font-size:14px;line-height:1.3;letter-spacing:-.025em}
.hma-mark{width:20px;height:20px;object-fit:contain;border-radius:5px}
.hma[data-ready] [data-hma-status]{color:var(--accent-ink)}
.hma-head button{display:inline-flex;align-items:center;justify-content:center;min-height:36px;padding:4px;border:0;border-radius:6px;background:transparent;color:var(--text-2);font:inherit;cursor:pointer}
.hma-head button:is(:hover,:focus-visible){color:var(--text);background:var(--surface-2)}
.hma-head .hma-sound{gap:5px;font-size:11px;font-weight:600}
.hma-sound span{display:inline-flex;width:24px;height:14px;align-items:center;padding:2px;background:var(--control-line);border-radius:14px}
.hma-sound span::before{content:"";height:10px;width:10px;background:var(--text);border-radius:50%}
.hma-sound[aria-checked=true] span{background:var(--accent-ink)}
.hma-sound[aria-checked=true] span::before{margin-left:auto;background:var(--surface)}
.hma-head .hma-icon{width:32px;font-size:18px}
.hma-fold span{display:block;width:7px;height:7px;border:solid currentColor;border-width:1.7px 1.7px 0 0;transform:translateY(2px) rotate(-45deg)}
.hma-fold[aria-expanded=false] span{transform:translateY(-2px) rotate(135deg)}
#hma-settings{background:var(--surface-2);border-block:1px solid var(--line-soft);font-size:12px;color:var(--text-2);padding:8px 12px}
#hma-settings label{display:flex;align-items:center;gap:6px;color:var(--text);font-weight:650;cursor:pointer}
#hma-settings input{width:16px;height:16px;accent-color:var(--accent)}
#hma-settings p{margin:4px 0 0;line-height:1.5}
.hma-list{list-style:none;padding:0;margin:0 8px}
.hma-list li{box-sizing:border-box;height:32px;margin:0;padding:1px 5px 2px;border-bottom:1px solid var(--line-soft);font-size:12px}
.hma [data-dir=up],.hma-toast[data-dir=up]{--hma-dir:var(--up)}
.hma [data-dir=down],.hma-toast[data-dir=down]{--hma-dir:var(--down)}
.hma-columns,.hma-line{display:grid;grid-template-columns:minmax(0,1fr) 72px 49px;align-items:baseline;column-gap:6px}
.hma-columns{align-items:center;box-sizing:border-box;height:22px;padding:0 13px;background:var(--surface-2);color:var(--muted);font-size:10px}
.hma-columns>:nth-child(n+2),.hma-line>:nth-child(n+2){text-align:right}
.hma-line{line-height:15px}
.hma-pair{display:flex;align-items:baseline;gap:4px;min-width:0;white-space:nowrap;overflow:hidden}
.hma-list li{position:relative}
.hma-pair::after{content:"";position:absolute;inset:0 135px 0 0}
.hma-pair .hma-asset,.hma-toast-asset .hma-toast-name{text-decoration:underline;text-decoration-color:var(--control-line);text-underline-offset:2px}
.hma-pair:is(:hover,:focus-visible) .hma-asset,.hma-toast-asset:is(:hover,:focus-visible) .hma-toast-name{color:var(--accent-ink);text-decoration-color:currentColor}
.hma-pct,.hma-toast-pct{color:var(--hma-dir)}
.hma-pct,.hma-time,.hma-volume,.hma-toast{font-variant-numeric:tabular-nums}
.hma-pct{font-size:12px;white-space:nowrap}.hma-asset{font-size:12px;color:var(--text);overflow:hidden;text-overflow:ellipsis}
.hma-name,.hma-time,.hma-volume,.hma-foot{color:var(--muted)}
.hma-name{min-width:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
.hma-time{white-space:nowrap;font-size:10px}
.hma-volume{font-size:10.5px;line-height:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.hma-list .hma-time::after{position:absolute;right:5px;top:16px}
.hma-list .hma-volume{padding-right:53px}
.hma-toast-scene{display:inline-flex;align-items:center;justify-content:center;pointer-events:auto;margin:0 14px 5px;min-height:44px;padding:0 10px;border-radius:6px;font-size:12px;font-weight:700;color:var(--accent-ink)}
.hma-toast-scene:is(:hover,:focus-visible){text-decoration:underline;background:var(--surface-2)}
.hma-empty{margin:0 6px;padding:11px 7px;border-radius:5px;background:var(--surface-2);color:var(--text-2);font-size:12px;line-height:1.5;text-align:center}
.hma-foot{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:4px 8px;padding:4px 10px 6px;font-size:10px;line-height:1.5}
.hma-toast{position:fixed;z-index:48;left:auto;right:calc(16px + env(safe-area-inset-right,0px));top:calc(var(--header-h,60px) + 12px + env(safe-area-inset-top,0px));width:min(355px,calc(100vw - 32px - env(safe-area-inset-left,0px) - env(safe-area-inset-right,0px)));box-sizing:border-box;border:1px solid color-mix(in srgb,var(--accent) 28%,var(--line));border-radius:12px;background:var(--surface);color:var(--text);box-shadow:var(--shadow);overflow:hidden;pointer-events:none}
.hma-toast-head{display:flex;align-items:center;gap:6px;min-height:34px;padding:4px 37px 4px 13px;background:color-mix(in srgb,var(--accent) 8%,var(--surface));border-bottom:1px solid var(--line-soft);font-size:12px}
.hma-toast-head img{border-radius:4px;width:18px;height:18px}
.hma-toast-head strong{font-weight:750;letter-spacing:-.025em;color:var(--text)}
.hma-toast-head>span{margin-left:auto;color:var(--text-2);font-size:11px;white-space:nowrap}
.hma-close{pointer-events:auto;position:absolute;top:0;right:0;display:grid;place-items:center;width:44px;height:44px;padding:0;border:0;border-radius:6px;background:transparent;color:var(--muted);font-size:21px;cursor:pointer}
.hma-close:is(:hover,:focus-visible){color:var(--text);background:var(--surface-2)}
.hma-toast-market{display:grid;grid-template-columns:minmax(0,1fr) 77px;grid-template-areas:"asset chart" "quote chart";align-items:center;column-gap:8px;padding:10px 14px 9px}
.hma-toast-asset{display:block;pointer-events:auto;color:inherit;text-decoration:none}
.hma-toast-symbol,.hma-toast-quote{display:flex;align-items:baseline;min-width:0}
.hma-toast-symbol{grid-area:asset;gap:6px;align-items:center;min-height:28px}
.hma-toast-name{font-weight:720;font-size:15px;color:var(--text);white-space:nowrap;text-overflow:ellipsis;overflow:hidden}
.hma-toast-ticker{font-size:10px;letter-spacing:.02em;color:var(--muted)}
.hma-toast-quote{grid-area:quote;gap:7px;flex-wrap:wrap}
.hma-toast-price{font-weight:750;font-size:21px;line-height:1.3;letter-spacing:-.035em}
.hma-toast-pct{font-size:13px;font-weight:720;letter-spacing:-.012em}
.hma-spark{grid-area:chart;width:100%;height:37px;color:var(--accent-ink)}
.hma-spark polyline{fill:none;stroke:currentColor;stroke-width:2.2;stroke-linejoin:round;stroke-linecap:round}
.hma-spark polygon{fill:currentColor;opacity:.10}
.hma-toast-foot{display:flex;align-items:baseline;justify-content:space-between;flex-wrap:wrap;gap:2px 8px;margin:0 14px;padding:6px 0 8px;border-top:1px solid var(--line-soft);font-size:11px;color:var(--muted)}
.hma-toast-volume{display:inline-flex;flex-wrap:wrap;align-items:baseline;gap:0 3px}
.hma-toast-volume b{color:var(--text-2);font-weight:650}
.hma-toast-volume b+span{margin-left:8px}
.hma-toast-time{font-size:10px;white-space:nowrap}
body:has([data-cw-panel]:not([hidden]),dialog[open],.drawer[open]) .hma-toast{display:none!important}
@media(max-width:699px){.hma-toast{top:calc(var(--header-h,52px) + 8px + env(safe-area-inset-top,0px));left:auto;right:calc(10px + env(safe-area-inset-right,0px));width:min(355px,calc(100vw - 20px - env(safe-area-inset-left,0px) - env(safe-area-inset-right,0px)))}}
.hma-duration{display:flex;align-items:center;gap:8px;margin:0 14px 8px;font-size:11px;color:var(--text-2)}
.hma-duration progress{appearance:none;flex:1;height:3px;border:none;border-radius:4px;overflow:hidden;background:var(--line-soft);color:var(--accent)}
.hma-duration progress::-webkit-progress-bar{background:var(--line-soft)}
.hma-duration progress::-webkit-progress-value{background:var(--accent)}
.hma-duration progress::-moz-progress-bar{background:var(--accent)}
.hma-progress-slide{display:none}
@media(prefers-reduced-motion:no-preference){
  .hma-progress-slide{display:block;flex:1;height:3px;border-radius:4px;overflow:hidden;background:var(--line-soft)}
  .hma-progress-slide::before{content:"";display:block;height:100%;background:var(--accent);transform-origin:left;animation:hma-elapsed 5s linear both}
  .hma-progress-slide+progress{display:none}
}
@keyframes hma-elapsed{from{transform:scaleX(0)}to{transform:scaleX(1)}}
.hma-toast a:focus-visible,.hma-toast button:focus-visible{outline:2px solid var(--focus,var(--accent));outline-offset:-2px}
@media(max-height:420px){.hma-toast{max-height:calc(100dvh - var(--header-h,52px) - 20px - env(safe-area-inset-top,0px));overflow:auto;pointer-events:auto}}
.hma-toast .hma-toast-summary{margin:0;padding:0 14px 10px;color:var(--text-2);font-size:12px;font-weight:550;line-height:1.45;overflow-wrap:anywhere}
