.sc::before { content:''; position:absolute; inset:2px; pointer-events:none; border:1px dashed transparent; }
.sc.cb-t::before { border-top-color:var(--text); } .sc.cb-b::before { border-bottom-color:var(--text); } .sc.cb-l::before { border-left-color:var(--text); } .sc.cb-r::before { border-right-color:var(--text); }
.sc .sum { position:absolute; left:3px; top:1px; font-size:clamp(.5rem, 2.2vw, .68rem); font-weight:800; color:var(--text); line-height:1; background:var(--panel); padding:0 2px; z-index:2; }
.sc .nt { top:12px; }
.sc.given .sum { color:var(--text); }
