/* Keep the trajectory annotation legible over every surface color and reading theme. */
#reg-scene{--trajectory:#ff4fa3}
#reg-scene canvas{position:relative;z-index:0}
.reg-trail-connector{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;z-index:1}
.reg-trail-connector path{fill:none;stroke:var(--trajectory);stroke-width:2;stroke-linecap:round}
.reg-trail-connector path:first-child{stroke:#0a1020;stroke-width:5}
.reg-trail-label{position:absolute;left:14px;top:14px;z-index:2;pointer-events:none;background:#101a2b;color:#fff;border:1px solid #ff4fa3;border-radius:8px;padding:8px 11px;box-shadow:0 2px 8px #0006;font:12px/1.5 var(--f-ui);width:214px;max-width:calc(100% - 24px)}
.reg-trail-label strong{display:block;font-size:13px;color:#fff}
.reg-trail-label strong::before,.reg-trail-swatch{content:'';display:inline-block;width:21px;height:4px;border-radius:3px;background:#ff4fa3;box-shadow:0 0 0 2px #0a1020;margin:0 8px 3px 0;vertical-align:middle}
.reg-trail-label small{display:block;color:#d3ddeb;font-size:11px}
.scene-key .reg-trail-key{font-weight:650}
