/* ============================================================
   saxophone.css — saxophone practice view: instrument picker
   bar and the scrolling fingering canvas.
   Self-contained so other instruments can ship their own file.
   ============================================================ */
#saxWrap {
    flex: 1;
    min-height: 0;
    position: relative;
    margin: 14px 16px 0;
    display: none;
    flex-direction: column;
}
#saxWrap.show {
    display: flex;
}
.saxbar {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    flex-wrap: wrap;
}
.saxbar .lbl {
    font: 600 11px/1 "Spline Sans Mono";
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--txt-faint);
}
.psel {
    display: inline-flex;
    gap: 6px;
    flex-wrap: wrap;
}
.psel button {
    font: 600 12px/1 "Spline Sans";
    color: var(--txt-dim);
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 8px 12px 8px 24px;
    cursor: pointer;
    transition: 0.15s;
    position: relative;
}
.psel button::before {
    content: "";
    position: absolute;
    left: 9px;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--pc);
}
.psel button.on {
    color: #1a140c;
    background: var(--pc);
    border-color: var(--pc);
}
#saxCanvasWrap {
    flex: 1;
    min-height: 0;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid #2c2519;
    background: radial-gradient(120% 100% at 12% 0%, #15171f 0%, #0a0a0e 70%);
}
#saxCanvas {
    display: block;
    width: 100%;
    height: 100%;
}

@media (max-width: 720px) {
    #saxWrap {
        margin: 10px 10px 0;
    }
}
