/* Google Play switch for the ScanRise website (PLAY_LIVE): the ONE place it is turned on.
   OFF until ScanRise is live on Google Play (~/Apps/_android/play_flip/ turns it on by itself). It is plain CSS, so it also works with JavaScript off.
   TO TURN IT ON: comment out the OFF line, uncomment the ON line, redeploy the site.
   On: every download area shows the App Store and Google Play buttons side by side, "Available on
   iPhone and Android" replaces the "Android: on Google Play soon" line, and /get sends Android phones to Google Play.
   Off: every page looks exactly as it did before (the Play pieces stay hidden). */
:root{--play-live:0} .play-on{display:none!important} /* OFF */
/* :root{--play-live:1} .play-off{display:none!important} */ /* ON */

/* Which button comes first (only matters once ON). stores.js marks the visitor's device:
   Android: Google Play first, App Store beside it slightly lighter. iPhone/iPad: App Store first,
   Google Play beside it slightly lighter. Computer, or JavaScript off: App Store first, both equal.
   Each pair is written Play(before) / App Store / Play(after) and one Play copy is always hidden,
   so the order is fixed before the first paint and nothing moves. */
html:not(.ua-android) .play-before,html.ua-android .play-after{display:none!important}
html.ua-android .store-apple,html.ua-ios .play-btn{opacity:.8}
html.ua-android .store-apple:hover,html.ua-android .store-apple:focus-visible,html.ua-ios .play-btn:hover,html.ua-ios .play-btn:focus-visible{opacity:1}
