/* Lanes: the chase drawing (js/game/chase-lanes.js). Colours only from css/tokens.css.
   Carried over from the Lanes prototype (BNB-99). Agents are told apart by name and mark, not colour:
   colour says only "agent" or "you"; a filled badge says "ahead of you". A maker's mark (.mk, BNB-109)
   stays on paper, as its maker asks, so for those "ahead of you" is a thick ring instead. */
.lanes{position:absolute;inset:0;width:100%;height:100%;display:block}
.lanes .sweep-stop{stop-color:var(--accent)}
.lanes .row{fill:transparent}
.lanes .row-you{fill:rgba(var(--ink-rgb),.045)}
.lanes .row.flash{fill:rgba(var(--accent-rgb),.28)}
.lanes .row.back{fill:rgba(var(--ink-rgb),.08)}
.lanes .rail{stroke:var(--hairline);stroke-width:1}
.lanes .grid{fill:none;stroke:var(--forming);stroke-width:1;stroke-dasharray:1 5;opacity:.7}
.lanes .label{font-family:var(--font-text);font-weight:600;fill:var(--accent-text)}
.lanes .label.ahead{font-weight:800}
.lanes .label-you{fill:var(--ink);font-weight:800}
.lanes .gate{fill:var(--accent)}
.lanes .you-line{stroke:var(--ink);stroke-width:1.5;stroke-dasharray:3 4;opacity:.55}
.lanes .you-line.stopped{stroke-dasharray:none;opacity:.35}
.lanes .token .dot{fill:var(--paper);stroke:var(--accent);stroke-width:1.75}
.lanes .token.ahead .dot{fill:var(--accent);stroke:var(--accent)}
.lanes .token .mark{font-family:var(--font-numeral);font-weight:600;fill:var(--accent-text)}
.lanes .token.ahead .mark{fill:var(--paper)}
.lanes .token.mk .dot,.lanes .token.mk.ahead .dot{fill:var(--paper);stroke:var(--accent)}
.lanes .token.mk.ahead .dot{stroke-width:4}
.lanes .token .mark-img{pointer-events:none}
.lanes .token .ring{fill:none;stroke:var(--accent);stroke-width:2}
.lanes .token .halo{fill:none;stroke:var(--accent);stroke-width:3;filter:drop-shadow(0 0 4px rgba(var(--accent-rgb),.8))}
.lanes .token-you .dot{fill:var(--ink);stroke:var(--ink);filter:drop-shadow(0 0 6px rgba(var(--ink-rgb),.35))}
.lanes .token-you.out .dot{fill:var(--paper);stroke:var(--ink);stroke-width:2;filter:none}
.lanes .token-you .cross{stroke:var(--ink);stroke-width:2;stroke-linecap:round}
.lanes .word{font-family:var(--font-numeral);font-weight:600;fill:var(--accent-text);letter-spacing:.01em;paint-order:stroke;stroke:var(--paper);stroke-width:6px;stroke-linejoin:round}
/* Avatars (BNB-113, js/game/avatars.js): a runner whose maker has one is drawn as it, standing on a
   paper base in place of its disc. The base carries the disc's ring (thick when ahead of you) and its
   heartbeat glow; the token keeps only the ring that bursts off it on a pass. A layer of their own over
   the drawing; from frame to frame only transforms and opacity change. The drawing's colours are the
   avatar's own (clawd.js). */
.lanes .token.av .dot,.lanes .token.av .halo{visibility:hidden}
.av-layer{position:absolute;inset:0;overflow:hidden;pointer-events:none}
.av-glow,.av-base,.av-holder{position:absolute;left:0;top:0}
.av-base{border-radius:50%;background:var(--paper);box-shadow:inset 0 0 0 1.75px var(--accent)}
.av-base.ahead{box-shadow:inset 0 0 0 4px var(--accent)}
.av-glow{border-radius:50%;opacity:0;box-shadow:0 0 0 3px var(--accent),0 0 10px 3px rgba(var(--accent-rgb),.8)}
.av-draw{position:absolute;inset:0}
.av-clawd .cw-fig{position:absolute;inset:0;transform-origin:50% 87.5%}
.av-clawd svg{position:absolute;inset:0;width:100%;height:100%;overflow:visible;display:block}
