/* Each illustrative trade topic borrows one hue from the globe's seven-neon palette. */
body #chain-panel :is(.chain-blocks rect:nth-child(1), .chain-nums text:nth-child(1), .chain-events li:nth-child(1)){--topic-neon:#FF2028}
body #chain-panel :is(.chain-blocks rect:nth-child(2), .chain-nums text:nth-child(2), .chain-events li:nth-child(2)){--topic-neon:#00E5FF}
body #chain-panel :is(.chain-blocks rect:nth-child(3), .chain-nums text:nth-child(3), .chain-events li:nth-child(3)){--topic-neon:#00FF9C}
body #chain-panel :is(.chain-blocks rect:nth-child(4), .chain-nums text:nth-child(4), .chain-events li:nth-child(4)){--topic-neon:#326BFF}
body #chain-panel :is(.chain-blocks rect:nth-child(5), .chain-nums text:nth-child(5), .chain-events li:nth-child(5)){--topic-neon:#FF6A00}
body #chain-panel :is(.chain-blocks rect:nth-child(6), .chain-nums text:nth-child(6), .chain-events li:nth-child(6)){--topic-neon:#A855FF}
body #chain-panel :is(.chain-blocks rect:nth-child(7), .chain-nums text:nth-child(7), .chain-events li:nth-child(7)){--topic-neon:#B6FF00}
body #chain-panel .chain-blocks rect{
 fill:color-mix(in srgb,var(--topic-neon) 15%,#071526);stroke:var(--topic-neon);stroke-width:1.5;
}
body #chain-panel .chain-blocks rect.chain-visited{
 fill:color-mix(in srgb,var(--topic-neon) 35%,#071526);stroke:var(--topic-neon);stroke-width:2.5;
 filter:drop-shadow(0 0 4px var(--topic-neon));
}
body #chain-panel .chain-nums text{fill:#fff}
body #chain-panel .chain-events button{
 border:1px solid var(--topic-neon);background:color-mix(in srgb,var(--topic-neon) 12%,#071526);color:#fff;
}
body #chain-panel .chain-events button:is(:hover,[aria-pressed="true"]){
 border-color:var(--topic-neon);background:color-mix(in srgb,var(--topic-neon) 30%,#071526);color:#fff;
 box-shadow:inset 0 0 0 1px var(--topic-neon),0 0 10px color-mix(in srgb,var(--topic-neon) 45%,transparent);
}
body #chain-panel .chain-events button:focus-visible{outline:2px solid #fff;outline-offset:3px}
@media(forced-colors:active){
 body #chain-panel .chain-events button{border:1px solid ButtonText;color:ButtonText;background:ButtonFace}
 body #chain-panel .chain-events button[aria-pressed="true"]{outline:2px solid Highlight;outline-offset:2px}
}
