/* App Store / Google Play buttons (shared/_store_buttons). A store without a
   URL renders as --soon: visible, not a link, with a "coming soon" badge. */
.store-buttons { gap: var(--space-4); }

.store-button {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  min-height: 56px;
  min-width: 190px;
  padding: var(--space-3) var(--space-5);
  background: var(--color-bg-tertiary);
  border: 1px solid var(--color-border-default);
  border-radius: var(--radius-lg);
  color: var(--color-text-primary);
  text-align: left;
  transition: background var(--transition-fast), border-color var(--transition-fast), transform var(--transition-fast);
}

a.store-button:hover {
  background: var(--color-bg-hover);
  border-color: var(--color-border-strong);
  color: var(--color-text-primary);
  transform: translateY(-1px);
}

.store-button:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 2px; }

.store-button__glyph { width: 28px; height: 28px; flex-shrink: 0; }
.store-button__text { display: flex; flex-direction: column; line-height: var(--leading-tight); }
.store-button__hint { font-size: var(--text-xs); color: var(--color-text-secondary); }
.store-button__name { font-size: var(--text-base); font-weight: 600; }

.store-button--soon { opacity: 0.85; cursor: default; }
.store-button__badge {
  position: absolute;
  top: calc(-1 * var(--space-3));
  right: var(--space-3);
  background: var(--color-bg-secondary);
  border: 1px solid var(--color-border-default);
}

@media (forced-colors: active) {
  .store-button { border: 1px solid CanvasText; }
  .store-button:focus-visible { outline: 3px solid CanvasText; outline-offset: 2px; }
}
