/* "Open in the app" banner (resources/views/v2/layouts/_app_banner.blade.php).
   Styled after the iOS Safari smart banner: dark strip, app icon, name + publisher, blue call to action.
   It is a normal block at the very top of <body>, so it pushes the sticky header down like Safari's. */
.app-banner {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px 10px 8px;
  background: #1c1c1e;
  color: #fff;
}

.app-banner__close {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 0;
  background: none;
  color: #8e8e93;
  font-size: 26px;
  line-height: 1;
}

.app-banner__icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 11px;
  background: #fff;
  object-fit: cover;
}

.app-banner__text {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  min-width: 0;
}

.app-banner__text strong {
  font-size: 15px;
  font-weight: 600;
  line-height: 20px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.app-banner__text span {
  font-size: 12px;
  line-height: 16px;
  color: #8e8e93;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.app-banner__cta {
  flex-shrink: 0;
  padding: 8px 0 8px 8px;
  color: #0a84ff;
  font-size: 15px;
  font-weight: 600;
  text-transform: uppercase;
  text-decoration: none;
}

.app-banner__cta:hover,
.app-banner__cta:focus {
  color: #0a84ff;
  text-decoration: none;
}
