/* Android app banner — bottom sheet bar.
   Plain CSS (no Tailwind classes): the Play CDN compiles in-browser,
   so utility classes would flash unstyled. This renders correctly
   from first paint and survives a later move to build-time Tailwind. */

.mc-app-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  padding-bottom: calc(10px + env(safe-area-inset-bottom, 0px));
  background: #ffffff;
  border-top: 1px solid #e4e4e7;
  box-shadow: 0 -6px 20px -12px rgba(0, 0, 0, 0.35);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  transform: translateY(100%);
  transition: transform 0.28s ease;
}

.mc-app-banner.mc-app-banner--visible {
  transform: translateY(0);
}

.mc-app-banner[hidden] {
  display: none;
}

.mc-app-banner__icon {
  width: 40px;
  height: 40px;
  border-radius: 9px;
  flex: none;
  border: 1px solid #f0f0f1;
}

.mc-app-banner__text {
  flex: 1;
  min-width: 0;
  line-height: 1.3;
}

.mc-app-banner__text strong {
  display: block;
  font-size: 13.5px;
  font-weight: 650;
  color: #111114;
}

.mc-app-banner__text span {
  font-size: 11.5px;
  color: #8b8b93;
}

.mc-app-banner__cta {
  flex: none;
  background: #111114;
  color: #ffffff;
  font-size: 13px;
  font-weight: 600;
  padding: 8px 18px;
  border-radius: 999px;
  text-decoration: none;
}

.mc-app-banner__cta:hover {
  background: #27272a;
}

.mc-app-banner__dismiss {
  flex: none;
  background: none;
  border: 0;
  color: #a1a1aa;
  font-size: 15px;
  line-height: 1;
  padding: 8px;
  margin-right: -4px;
  cursor: pointer;
}

/* Never show on desktop/tablet widths, regardless of UA quirks */
@media (min-width: 768px) {
  .mc-app-banner {
    display: none !important;
  }
}
