/* v0.218.0: tabs & lyrics store — sheet cards, badges, detail pages,
   ratings, comments, autoscroll/print for text sheets. */
.mx-sheet-cards { display: grid; gap: 10px; margin: 12px 0; }
.mx-sheet-card { background: #232323; border: 1px solid #444; border-radius: 8px;
  padding: 10px 12px; }
.mx-sheet-card h3 { margin: 0 0 4px; font-size: 16px; }
.mx-sheet-card h3 a { color: #cfe1ff; text-decoration: none; }
.mx-sheet-card h3 a:hover { text-decoration: underline; }
.mx-badge { display: inline-block; font-size: 11px; font-weight: bold;
  padding: 1px 7px; border-radius: 999px; margin: 2px 4px 2px 0;
  background: #31456e; color: #cfe1ff; vertical-align: middle; }
.mx-badge-band { background: #0E5AFF; color: #fff; }
.mx-badge-fan { background: #4a4a4a; color: #eee; }
.mx-badge-free { background: #2e7d32; color: #fff; }
.mx-badge-price { background: #b8860b; color: #fff; }
.mx-badge-cover { background: #6a3d9a; color: #fff; }
.mx-stars { color: #ffb400; font-size: 14px; }
.mx-stars .mx-norating { color: #888; font-size: 12px; }
.mx-sheet-pre { background: #16181d; border: 1px solid #333; border-radius: 8px;
  padding: 14px; overflow-x: auto; font-family: ui-monospace, Menlo, Consolas, monospace;
  font-size: 13.5px; line-height: 1.5; white-space: pre; color: #eee; }
.mx-lyric-body { background: #16181d; border: 1px solid #333; border-radius: 8px;
  padding: 16px; white-space: pre-wrap; line-height: 1.65; color: #eee;
  font-size: 15.5px; }
.mx-sheet-tools { display: flex; flex-wrap: wrap; gap: 8px; align-items: center;
  margin: 10px 0; }
.mx-sheet-tools label { font-size: 13px; color: #ccc; }
.mx-filter-chips { margin: 10px 0; display: flex; flex-wrap: wrap; gap: 6px; }
.mx-chip { font-size: 12.5px; padding: 4px 10px; border-radius: 999px;
  border: 1px solid #555; color: #ddd; text-decoration: none; }
.mx-chip.on { background: #0E5AFF; border-color: #0E5AFF; color: #fff; }
.mx-chip .n { opacity: .75; }
.mx-rate-form { display: inline-flex; gap: 2px; }
.mx-rate-form button { background: none; border: 0; cursor: pointer;
  font-size: 22px; color: #666; padding: 0 1px; line-height: 1; }
.mx-rate-form button.on { color: #ffb400; }
.mx-comment { border-top: 1px solid #333; padding: 8px 0 2px; }
.mx-comment .mx-cmeta { font-size: 12px; color: #999; }
.mx-comment .mx-cbody { margin: 3px 0 6px; white-space: pre-wrap; }
.mx-comment .mx-replies { margin-left: 22px; border-left: 2px solid #333;
  padding-left: 10px; }
.mx-comment form { margin: 4px 0 8px; }
.mx-comment textarea, .mx-sheet-form textarea { width: 100%; box-sizing: border-box; }
.mx-sheet-form { background: #232323; border: 1px solid #444; border-radius: 8px;
  padding: 12px; margin: 14px 0; }
.mx-sheet-form .row { margin: 8px 0; }
.mx-price-warn { color: #ffb400; font-size: 13px; }
.mx-pending { border: 1px solid #b8860b; border-radius: 8px; padding: 10px 12px;
  margin: 10px 0; background: #2a2416; }
/* v0.219.0: chord-diagram strip atop text sheets (from the
   paste-a-tab import's extracted chords). */
.mx-chord-strip { display: flex; flex-wrap: wrap; gap: 10px;
  margin: 10px 0 4px; }
.mx-chord-box { background: #101d38; border: 1px solid #33507e;
  border-radius: 8px; padding: 6px 8px 4px; text-align: center; }
.mx-chord-name { display: block; font-size: 12.5px; color: #e8eefc;
  margin-top: 2px; }
.mx-chord-none { width: 64px; height: 62px; display: flex;
  align-items: center; justify-content: center; color: #5b7bb4;
  font-size: 22px; }
@media print {
  body * { visibility: hidden; }
  .mx-sheet-print, .mx-sheet-print * { visibility: visible; }
  .mx-sheet-print { position: absolute; inset: 0; }
  .mx-no-print { display: none !important; }
  .mx-sheet-pre, .mx-lyric-body { background: #fff; color: #000; border: 0; }
}

/* v0.222.0: interactive tab player (alphaTab) */
.mx-tabplayer { margin: 10px 0; }
.mxp-toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px;
  padding: 8px 10px; border: 1px solid #33507e; border-radius: 8px; background: #0d1830; }
.mxp-time { font-variant-numeric: tabular-nums; color: #cfe1ff; font-size: 0.9rem; }
.mxp-ctl { display: inline-flex; align-items: center; gap: 5px; font-size: 0.85rem; color: #cfe1ff; }
.mxp-ctl input[type="range"] { width: 90px; }
.mxp-modes { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; margin-top: 8px; font-size: 0.88rem; }
.mxp-modebtn { border: 1px solid #33507e; background: #0d1830; color: #9fc0ff;
  border-radius: 999px; padding: 3px 12px; cursor: pointer; font-size: 0.85rem; }
.mxp-modebtn.mxp-on { background: #1d4ed8; border-color: #3b82f6; color: #fff; }
.mxp-tracks { display: flex; flex-direction: column; gap: 4px; margin-top: 8px; }
.mxp-track { display: flex; align-items: center; gap: 6px; font-size: 0.88rem; }
.mxp-tname { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mxp-tbtn { border: 1px solid #33507e; background: #0d1830; color: #63779e;
  border-radius: 6px; min-width: 28px; padding: 2px 6px; cursor: pointer; font-size: 0.8rem; }
.mxp-tbtn.mxp-on { background: #1d4ed8; border-color: #3b82f6; color: #fff; }
.mxp-status { color: #9fc0ff; font-size: 0.88rem; min-height: 1.2em; }
.mxp-scorewrap { background: #fff; border-radius: 8px; overflow: auto; max-height: 72vh; margin-top: 6px; }
.mxp-pdf { width: 100%; height: 70vh; border: 1px solid #33507e; border-radius: 8px; background: #fff; }
@media print { .mxp-toolbar, .mxp-modes, .mxp-tracks { display: none; } }

/* v0.225.0: touch sizing on phones/tablets ONLY. Everything in
   this block is inside a max-width media query — the desktop
   rendering of the player and sheet tools is untouched. */
@media (max-width: 820px) {
  .mx-tabplayer .mx-btn { min-height: 44px; padding: 10px 16px; font-size: 1rem; }
  .mx-tabplayer .mx-btn-small { min-height: 40px; padding: 8px 12px; }
  .mxp-tbtn { min-width: 44px; min-height: 40px; padding: 6px 10px; font-size: 0.92rem; }
  .mxp-modebtn { min-height: 40px; padding: 8px 16px; font-size: 0.92rem; }
  .mxp-ctl { font-size: 0.95rem; }
  .mxp-ctl input[type="range"] { width: 120px; height: 28px; }
  .mxp-time { font-size: 1rem; }
  .mxp-track { gap: 8px; padding: 3px 0; font-size: 0.95rem; }
  .mxp-scorewrap { max-height: 78vh; }
  .mx-sheet-tools { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
  .mx-sheet-tools .mx-btn { min-height: 42px; padding: 9px 14px; }
  .mx-sheet-tools input[type="range"] { height: 28px; }
}

/* Band Videos section: thumbnail grid + inline player stage.
   Thumbnails are provider images (YouTube hqdefault / Vumbnail);
   clicking one swaps the embed into the stage above the grid. */
.mx-video-stage { margin: 12px 0; display: none; }
.mx-video-stage.on { display: block; }
.mx-video-frame { position: relative; padding-top: 56.25%; /* 16:9 */
  background: #000; border: 1px solid #444; border-radius: 8px; overflow: hidden; }
.mx-video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%;
  border: 0; }
.mx-video-grid { display: grid; gap: 10px; margin: 12px 0;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.mx-video-card { background: #232323; border: 1px solid #444; border-radius: 8px;
  padding: 8px; }
.mx-video-thumb { display: block; width: 100%; padding: 0; border: 0; cursor: pointer;
  background: none; position: relative; }
.mx-video-thumb img { display: block; width: 100%; border-radius: 4px; }
.mx-video-thumb .mx-video-play { position: absolute; inset: 0; display: flex;
  align-items: center; justify-content: center; font-size: 34px; color: #fff;
  text-shadow: 0 1px 6px #000; opacity: .85; }
.mx-video-thumb:hover .mx-video-play { opacity: 1; }
.mx-video-card h3 { margin: 6px 0 4px; font-size: 14.5px; color: #eee; }
.mx-badge-live { background: #b02020; color: #fff; }
.mx-badge-music { background: #0E5AFF; color: #fff; }
.mx-video-form label { display: block; font-size: 13px; color: #ccc; margin: 8px 0; }
.mx-video-form input[type="text"], .mx-video-form input[type="url"],
.mx-video-form select { display: block; width: 100%; margin-top: 3px;
  background: #1c1c1c; border: 1px solid #333; color: #ddd; padding: 6px;
  font-size: 13px; border-radius: 3px; box-sizing: border-box; }

/* v0.276.0 (Clint): mini filter lines for the band tabs page —
   small text links, the current pick lit as a small pill.
   Replaces the .mx-filter-chips wall on that page. */
.mx-mini-filters { display: flex; flex-wrap: wrap; align-items: baseline;
  gap: 2px 10px; font-size: 12.5px; margin: 4px 0; }
.mx-mini-filters .mx-mf-label { color: #8fa8c8; }
.mx-mini-filters a { color: #5b8cff; text-decoration: none; padding: 0 2px; }
.mx-mini-filters a:hover { text-decoration: underline; }
.mx-mini-filters a.on { color: #fff; background: #0E5AFF;
  border-radius: 9px; padding: 0 8px; }
.mx-mini-filters a .n { color: #8fa8c8; font-size: 11px; }
.mx-mini-filters a.on .n { color: #cfe4ff; }
.mx-mini-filters .mx-mf-right { margin-left: auto; display: inline-flex;
  gap: 2px 8px; align-items: baseline; flex-wrap: wrap; }
