/* Violet is reserved for navigation focus and chart context. */
body[data-theme="dark"] {
    --screener-violet-line: #8d73b6;
    --screener-violet-wash: rgba(148, 112, 203, 0.12);
}

body[data-theme="light"] {
    --screener-violet-line: #7754a5;
    --screener-violet-wash: rgba(121, 82, 166, 0.10);
}

#grid .chart-box:not(.squeeze, .confluence-up, .confluence-down):hover {
    border-color: var(--screener-violet-line);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25), 0 0 0 1px var(--screener-violet-wash);
}

#detail-view .detail-chart-header {
    background-image: linear-gradient(110deg, var(--screener-violet-wash), transparent 68%);
}

#detail-view .coin-item.active {
    box-shadow: inset 3px 0 var(--screener-violet-line);
}

#grid button:focus-visible,
#detail-view button:focus-visible {
    outline: 2px solid var(--screener-violet-line);
    outline-offset: 2px;
}
