/* Copyright (c) 2025-2026 Greg Ames/Ames & Associates. All Rights Reserved. */
/* Project: Karaoke Dreamz | Filename: static/css/chord_diagrams.css */
/* Rehearse chord diagrams. Bootstrap has no utility for a fixed-height inline */
/* SVG, a scroll-snapping flex row or a highlighted piano-key fill; all chrome  */
/* (buttons, modal, borders, text colors) is Bootstrap 5.                       */
.kd-cd-root { padding: 0.25rem 0.5rem; }
/* One row on a phone (~95 px): the picker is pinned left, the chords scroll. */
.kd-cd-strip { overflow-x: auto; overflow-y: hidden; scroll-snap-type: x proximity;
               -webkit-overflow-scrolling: touch; scrollbar-width: thin; padding-bottom: 2px; }
.kd-cd-side { position: sticky; left: 0; z-index: 2; }
.kd-cd-side .btn { font-size: 0.7rem; line-height: 1.35; }
.kd-cd-info { font-size: 0.6rem; min-height: 0.7rem; }
.kd-cd-card { width: 70px; scroll-snap-align: center; color: inherit; line-height: 1.1; }
.kd-cd-card { transition: background-color .25s ease, border-color .25s ease, color .25s ease; }
.kd-cd-card.kd-cd-current { border-width: 2px; color: var(--bs-warning); }
.kd-cd-name { font-size: 0.75rem; }
.kd-cd-sub { font-size: 0.6rem; }
.kd-cd-svg { display: block; width: 100%; height: 52px; }
.kd-cd-none { height: 52px; font-size: 0.6rem; padding: 2px; }
.kd-cd-key-on { fill: var(--bs-warning) !important; fill-opacity: 1 !important; stroke: var(--bs-warning); }
.kd-cd-key-bass { fill: var(--bs-info) !important; fill-opacity: 1 !important; stroke: var(--bs-info); }
.kd-cd-big .kd-cd-svg, .kd-cd-big .kd-cd-none { height: 240px; }
.kd-cd-big .kd-cd-name { display: none; }
.kd-cd-big .kd-cd-sub { font-size: 0.9rem; text-align: center; }
.kd-cd-big .kd-cd-none { font-size: 1rem; }
/* Tablets and up: wrap instead of scrolling. */
@media (min-width: 768px) {
  .kd-cd-strip { overflow-x: visible; }
  .kd-cd-list { flex-wrap: wrap; max-height: 200px; overflow-y: auto; }
}
/* ============================================================================== */
/* End of static/css/chord_diagrams.css                                          */
/* ============================================================================== */
