/* balance scale */
/* ---------- balance scale ---------- */
.scale{background:var(--surface);border:1px solid var(--line);border-radius:14px;padding:14px 14px 10px;margin:14px 0;box-shadow:var(--shadow)}
.scale h3{margin:0 0 2px;font-size:15px}
.scale .scs{color:var(--muted);font-size:12.5px;margin:0 0 4px}
.scale svg{display:block;width:100%;height:auto;max-height:360px;overflow:visible}
.sc-beam,.sc-pan{transition:transform 2.2s cubic-bezier(.25,1.6,.45,1)}
.sc-beam{transform-origin:380px 60px}
.scale .sc-line{stroke:var(--muted);stroke-width:1.2;opacity:.7}
.scale .sc-body{fill:var(--fg);opacity:.85}
.scale .sc-plate{fill:var(--muted);opacity:.55}
.scale .sc-pos rect{fill:color-mix(in srgb,var(--win) 20%,var(--surface));stroke:var(--win)}
.scale .sc-neg rect{fill:color-mix(in srgb,var(--loss) 20%,var(--surface));stroke:var(--loss)}
.scale .sc-pos text{fill:var(--win)} .scale .sc-neg text{fill:var(--loss)}
.scale text{font-family:var(--mono);font-size:9px;font-weight:600}
.scale .sc-more{fill:var(--muted)!important;font-size:11px}
.scale .sc-chip{animation:scdrop .7s cubic-bezier(.3,1.4,.5,1) both;animation-delay:var(--d)}
.scale a:hover rect{stroke-width:2}
.sc-sum{display:flex;flex-wrap:wrap;justify-content:space-between;gap:6px 14px;font-size:12.5px;margin-top:2px}
.sc-sum b{font-family:var(--mono)}

.scale .sc-bowl.pos{fill:url(#scPos);stroke:var(--win);stroke-width:1.2}
.scale .sc-bowl.neg{fill:url(#scNeg);stroke:var(--loss);stroke-width:1.2}
.scale .sc-lab{font-size:11px;font-weight:700;letter-spacing:.02em}
.scale .sc-lab.pos{fill:var(--win)!important} .scale .sc-lab.neg{fill:var(--loss)!important}
.scale .sc-tick{stroke:var(--muted);stroke-width:1.6;stroke-linecap:round;opacity:.8}
.scale .sc-gl{font-size:15px;font-weight:800}
.scale .sc-gl.pos{fill:var(--win)} .scale .sc-gl.neg{fill:var(--loss)}
.scale .sc-badge rect{fill:var(--surface);stroke:var(--line)}
.scale .sc-badge text{font-size:14px;font-weight:700}
.scale .sc-chip rect{fill:var(--surface)}
.scale .sc-pos rect{fill:color-mix(in srgb,var(--win) 16%,var(--surface))}
.scale .sc-neg rect{fill:color-mix(in srgb,var(--loss) 16%,var(--surface))}
.scale .sc-line{stroke:var(--gold);opacity:.65}
.scale{background:linear-gradient(180deg,var(--surface),var(--surface2))}

