/* platform/promo.css — バナー・PWAインストール案内 (旧 core.css から分割・見た目の変更なし) */

/* ─── Banners / Promo ─── */
.promo-banner {
  background: linear-gradient(135deg, #1a1020 0%, #0d1a10 100%);
  border: 1px solid var(--border2);
  border-radius: var(--radius);
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.promo-icon { font-size: 1.8rem; }
.promo-text { flex: 1; }
.promo-title { font-size: 0.85rem; font-weight: 700; }
.promo-desc  { font-size: 0.72rem; color: var(--text-muted); margin-top: 1px; }
.promo-arrow { color: var(--text-muted); font-size: 1.1rem; }

/* ─── PWA Install Banner ─── */
.pwa-install-banner {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: calc(72px + env(safe-area-inset-bottom));
  max-width: 416px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 12px;
  background: var(--bg-float);
  border: 1px solid var(--border2);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  z-index: 150;
  backdrop-filter: blur(12px);
  animation: slideUp 0.22s ease;
}
.pwa-install-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: var(--on-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  font-weight: 800;
  flex-shrink: 0;
}
.pwa-install-copy { min-width: 0; }
.pwa-install-title {
  color: var(--text-primary);
  font-size: 0.86rem;
  font-weight: 800;
  line-height: 1.25;
}
.pwa-install-subtitle {
  color: var(--text-secondary);
  font-size: 0.72rem;
  line-height: 1.35;
  margin-top: 2px;
}
.pwa-install-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}
.pwa-install-btn {
  border: 0;
  border-radius: var(--radius-sm);
  background: var(--accent);
  color: var(--on-accent);
  font-size: 0.75rem;
  font-weight: 800;
  padding: 8px 10px;
  white-space: nowrap;
}
.pwa-install-close {
  width: 28px;
  height: 28px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg-card2);
  color: var(--text-secondary);
  font-size: 1.1rem;
  line-height: 1;
}
