/* Touch-sized screens share the GPU with the OS screen recorder. Keep the
   permanent controls readable with a dark surface instead of repeatedly
   blurring the moving artwork beneath them. This does not detect recording. */
@media (pointer: coarse) and (max-width: 1024px) {
  #jamApp .jam-top-actions button,
  #jamApp .jam-dock,
  #jamApp .jam-material-strip button,
  #jamApp .jam-viewbar > *,
  #jamApp .jam-stage .jam-field-volume,
  #jamApp .jam-stage .jam-drum-pad {
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }

  #jamApp .jam-top-actions button {
    background-color: #080b10ed;
  }

  #jamApp .jam-dock {
    background-color: #101519ed;
  }

  #jamApp .jam-material-strip button {
    background-color: #070b0ded;
  }

  #jamApp .jam-material-strip button.active {
    background-color: #151b16ed;
  }

  #jamApp .jam-viewbar > * {
    background-color: #080b12ed;
  }

  #jamApp .jam-stage .jam-field-volume {
    background-color: #071012ed;
  }

  /* Keep the existing pressed-pad fill, border and movement feedback. */
  #jamApp .jam-stage .jam-drum-pad:not(.pressed) {
    background-color: #211e17ed;
  }
}
