/* iPhone/iPad download bar — hidden until JS confirms iOS + not dismissed.
   Desktop, Android, and crawlers never see it (display:none by default). */
.sm-app-banner {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 400;
  height: 56px;
  padding: 8px 12px;
  box-sizing: border-box;
  align-items: center;
  gap: 10px;
  background: #111;
  border-bottom: 1px solid rgba(252, 191, 21, 0.14);
  color: #fff;
  font-family: -apple-system, BlinkMacSystemFont, 'Manrope', system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}
html.sm-app-banner-visible .sm-app-banner {
  display: flex;
}
html.sm-app-banner-visible {
  --sm-banner-offset: 56px;
}
html.sm-app-banner-visible .nav,
html.sm-app-banner-visible header.nav {
  top: var(--sm-banner-offset) !important;
}
.sm-app-banner-icon {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  flex: 0 0 36px;
  object-fit: cover;
  background: #FCBF15;
}
.sm-app-banner-copy {
  flex: 1 1 auto;
  min-width: 0;
  line-height: 1.2;
}
.sm-app-banner-copy strong {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
}
.sm-app-banner-copy span {
  display: block;
  font-size: 11px;
  color: #DCC29D;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.sm-app-banner-open {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 8px;
  background: #FCBF15;
  color: #111;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}
.sm-app-banner-dismiss {
  flex: 0 0 auto;
  width: 32px;
  height: 32px;
  border: 0;
  background: transparent;
  color: #C0A070;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}
@media (min-width: 901px) {
  html.sm-app-banner-visible .sm-app-banner { display: none; }
  html.sm-app-banner-visible .nav,
  html.sm-app-banner-visible header.nav { top: 0 !important; }
}
