/* JustFavs: the floating "get the apps" bar (Nov 2, for launch). See store-bar.js. */
.store-bar {
  position: fixed; left: 50%; bottom: max(14px, env(safe-area-inset-bottom, 0px));
  z-index: 40;   /* under the top nav (50) and its language menu */
  display: flex; gap: 8px; padding: 7px;
  max-width: calc(100vw - 24px); box-sizing: border-box;
  border-radius: 22px;
  background: rgba(12, 18, 38, .84);
  -webkit-backdrop-filter: blur(16px) saturate(1.4); backdrop-filter: blur(16px) saturate(1.4);
  border: 1px solid rgba(143, 180, 255, .22);
  box-shadow: 0 14px 40px rgba(0, 0, 0, .5), 0 0 30px rgba(59, 107, 255, .16);
  transform: translate(-50%, calc(100% + 30px)); opacity: 0; pointer-events: none;
  transition: transform .4s cubic-bezier(.2, .8, .2, 1), opacity .3s ease;
}
.store-bar.show { transform: translate(-50%, 0); opacity: 1; pointer-events: auto; }

.sb-app {
  display: flex; align-items: center; gap: 10px; min-width: 0;
  padding: 6px 16px 6px 6px; border-radius: 16px;
  background: rgba(255, 255, 255, .06); color: #fff; text-decoration: none;
  -webkit-tap-highlight-color: transparent; transition: background-color .15s ease;
}
a.sb-app:hover, a.sb-app:active { background: rgba(143, 180, 255, .16); }
.sb-app img { width: 40px; height: 40px; border-radius: 10px; flex: none; display: block; }
.sb-txt { display: flex; flex-direction: column; min-width: 0; line-height: 1.2; }
.sb-name { font-family: 'Space Grotesk', system-ui, sans-serif; font-weight: 700; font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sb-store { font-size: 12px; color: var(--blue-light, #8fb4ff); white-space: nowrap; }
.sb-stores { display: flex; gap: 12px; font-size: 12px; white-space: nowrap; }
.sb-stores a { color: var(--blue-light, #8fb4ff); text-decoration: none; }
.sb-stores a:hover { text-decoration: underline; }
.sb-app:focus-visible, .sb-stores a:focus-visible { outline: 2px solid #8fb4ff; outline-offset: 2px; }

/* Phones: the two buttons share the width. */
@media (max-width: 600px) {
  .store-bar { width: calc(100vw - 24px); }
  .sb-app { flex: 1 1 0; }
}

/* Room at the end of the page so the bar never covers the footer. */
body.has-store-bar footer { padding-bottom: 96px; }

@media (prefers-reduced-motion: reduce) { .store-bar { transition: opacity .2s ease; } }
