/* Spatial commit topology. Node diameter and label geometry come from graph.js. */
.git-history{--git-lane:#216aa5;color:var(--ink)}
.git-history [data-lane-index="0"]{--git-lane:#216aa5}
.git-history [data-lane-index="1"]{--git-lane:#a9522c}
.git-history [data-lane-index="2"]{--git-lane:#60731b}
.git-history [data-lane-index="3"]{--git-lane:#7f438f}
.git-history [data-lane-index="4"]{--git-lane:#1c756c}
.git-history [data-lane-index="5"]{--git-lane:#994360}
.git-history .git-history-edge{fill:none;stroke:var(--git-lane);stroke-width:2.5;opacity:.86;stroke-linecap:round;stroke-linejoin:round;animation:none}
.git-history .git-history-edge.external-parent{stroke-dasharray:4 4;opacity:.65}
.git-history .git-history-node{outline:none;transform-box:view-box}
.git-history .git-history-node circle{transition:fill .16s,stroke .16s;animation:none}
.git-history .git-history-node .git-history-node-face{fill:var(--surface,#fff);stroke:var(--git-lane);stroke-width:2.5;filter:drop-shadow(0 2px 2px #18334e12)}
.git-history .git-history-node .git-history-halo{fill:none;stroke:transparent;stroke-width:2}
.git-history .git-history-node .git-history-node-id{fill:var(--ink);font:750 15px "Liberation Mono","DejaVu Sans Mono",monospace;letter-spacing:-.04em;pointer-events:none}
.git-history .git-history-node.is-head .git-history-node-face{fill:var(--git-lane);stroke:var(--git-lane)}
.git-history .git-history-node.is-head .git-history-node-id{fill:#fff}
.git-history .git-history-node.selected .git-history-halo{stroke:var(--git-lane);stroke-dasharray:2 3}
.git-history .git-history-node:hover .git-history-halo,.git-history .git-history-node:focus-visible .git-history-halo{stroke:var(--ink);stroke-dasharray:none}
.git-history .git-history-node[role=img]{cursor:default}
.git-history .git-history-ref{transition:none;outline:none;transform-box:view-box}
.git-history .git-history-ref rect{fill:var(--surface,#fff);stroke:var(--git-lane);stroke-width:1.3}
.git-history .git-history-ref .git-history-ref-label{fill:var(--ink);font:650 12px "Liberation Mono","DejaVu Sans Mono",monospace;pointer-events:none}
.git-history .git-history-ref-link{fill:none;stroke:var(--git-lane);stroke-width:1.3}
.git-history .git-history-ref.current rect{stroke-width:2}
.git-history .git-history-ref.current .git-history-ref-label{fill:var(--ink);font-weight:800}
.git-history .git-history-head rect{fill:var(--git-lane);stroke:var(--git-lane)}
.git-history .git-history-ref.git-history-head .git-history-ref-label{fill:#fff;font-size:11px;font-weight:800;letter-spacing:.05em}
.git-history .git-history-tag rect{stroke-dasharray:3 2;fill:var(--game-gold-wash,var(--surface))}
.git-history .git-history-remote rect{stroke-dasharray:2 2}
.git-history .git-history-lineage rect{fill:var(--surface,#fff);stroke:none}
.git-history .git-history-lineage .git-history-ref-label{fill:var(--ink);font-style:italic;font-weight:600}
.git-history .git-history-lineage .git-history-ref-link{stroke-dasharray:2 2;opacity:.6}
.git-history .git-history-ref[role=img]{cursor:default}
.git-history .git-history-ref[role=button]:hover rect,.git-history .git-history-ref[role=button]:focus-visible rect{stroke:var(--ink);stroke-width:2.5}
.git-history-compact .git-history-node .git-history-node-id{font-size:12px}
.git-history-compact .git-history-ref .git-history-ref-label{font-size:11px}
[data-theme=dark] .git-history [data-lane-index="0"]{--git-lane:#70b7eb}
[data-theme=dark] .git-history [data-lane-index="1"]{--git-lane:#eeac86}
[data-theme=dark] .git-history [data-lane-index="2"]{--git-lane:#b2c76b}
[data-theme=dark] .git-history [data-lane-index="3"]{--git-lane:#caa2d7}
[data-theme=dark] .git-history [data-lane-index="4"]{--git-lane:#77c7bd}
[data-theme=dark] .git-history [data-lane-index="5"]{--git-lane:#e49bb7}
[data-theme=dark] .git-history .git-history-node.is-head .git-history-node-id,[data-theme=dark] .git-history .git-history-ref.git-history-head .git-history-ref-label{fill:#122338}
@media(prefers-reduced-motion:reduce){.git-history .git-history-node circle{transition:none}}

.git-history[data-graph-motion=off] *{transition:none!important;animation:none!important}
/* Commits no reference reaches (after rebase, amend or reset) stay visible as ghosts. */
.git-history .git-history-node.is-unreachable .git-history-node-face{fill:var(--surface,#fff);stroke-dasharray:4 3;opacity:.7;filter:none}
.git-history .git-history-node.is-unreachable .git-history-node-id{opacity:.6}
.git-history .git-history-edge.from-unreachable{stroke-dasharray:3 5;opacity:.45}
