/* Bar Chaser — board only */

.bc-track {
    position: relative;
    width: 100%;
    max-width: 520px;
    height: 76px;
    border: 1px solid rgba(111, 214, 196, 0.3);
    background:
        linear-gradient(180deg, rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.25)),
        repeating-linear-gradient(90deg, rgba(111, 214, 196, 0.08) 0 1px, transparent 1px 10%);
    cursor: pointer;
    overflow: hidden;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}

.bc-track::before,
.bc-track::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    width: 2px;
    background: rgba(111, 214, 196, 0.35);
}

.bc-track::before { left: 0; }
.bc-track::after  { right: 0; }

.bc-zone {
    position: absolute;
    top: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(255, 180, 0, 0.28), rgba(255, 180, 0, 0.10));
    border-left: 2px solid rgba(255, 180, 0, 0.75);
    border-right: 2px solid rgba(255, 180, 0, 0.75);
    transition: left 0.12s ease, width 0.12s ease;
}

.bc-needle {
    position: absolute;
    top: -2px;
    bottom: -2px;
    width: 4px;
    margin-left: -2px;
    background: var(--game-accent);
    box-shadow: 0 0 14px rgba(111, 214, 196, 0.85);
}

.bc-needle.in-zone {
    background: #4ade80;
    box-shadow: 0 0 18px rgba(74, 222, 128, 0.9);
}

.bc-ticks {
    position: absolute;
    inset: auto 0 6px 0;
    height: 8px;
    background: repeating-linear-gradient(90deg, rgba(111, 214, 196, 0.16) 0 1px, transparent 1px 5%);
    pointer-events: none;
}

.bc-track.hit {
    animation: bc-flash 0.18s;
}

@keyframes bc-flash {
    0%   { border-color: var(--game-accent); }
    100% { border-color: rgba(111, 214, 196, 0.3); }
}
