html {
  overflow-x: hidden;
  scroll-behavior: auto !important;
}

body {
  min-width: 320px;
  overflow-x: hidden;
}

img {
  max-width: 100%;
}

a,
button,
[role="button"] {
  cursor: default !important;
  pointer-events: none !important;
}

.reveal {
  opacity: 1 !important;
  transform: none !important;
}

.mobile-bar {
  display: none !important;
}

.download-bar {
  position: fixed;
  z-index: 9999;
  right: 12px;
  bottom: calc(12px + env(safe-area-inset-bottom, 0px));
  left: 12px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  width: min(440px, calc(100% - 24px));
  margin: 0 auto;
  padding: 10px;
  border: 1px solid rgba(228, 177, 90, 0.26);
  border-radius: 14px;
  background: rgba(16, 14, 12, 0.94);
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.46);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}

.download-button {
  display: flex;
  min-width: 0;
  min-height: 56px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 8px 10px;
  border-radius: 10px;
  font-family: Inter, system-ui, sans-serif;
}

.download-button.ios {
  color: #17120c;
  background: #fff;
}

.download-button.android {
  color: #17120c;
  background: linear-gradient(180deg, #f6d7a2, #e4b15a);
}

.download-icon {
  display: inline-flex;
  width: 25px;
  height: 25px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
}

.download-icon svg {
  width: 24px;
  height: 24px;
}

.download-copy {
  display: grid;
  min-width: 0;
  gap: 1px;
}

.download-copy small {
  overflow: hidden;
  font-size: 10px;
  line-height: 1.15;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.download-copy strong {
  overflow: hidden;
  font-size: 15px;
  font-weight: 900;
  line-height: 1.15;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@media (max-width: 360px) {
  .download-bar {
    gap: 8px;
    padding: 8px;
  }

  .download-button {
    min-height: 52px;
    gap: 6px;
    padding: 7px 8px;
  }

  .download-icon {
    width: 22px;
    height: 22px;
  }

  .download-icon svg {
    width: 21px;
    height: 21px;
  }

  .download-copy small {
    font-size: 9px;
  }

  .download-copy strong {
    font-size: 13px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
