/* Product Hunt ローンチ当日のバナー（ph-banner.js が phBanner 設定時のみ body 先頭に挿入） */
.ph-banner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  position: relative;
  width: 100%;
  padding: 9px 44px;
  background: var(--c-ph);
  color: var(--c-white);
  font-size: 14px;
  line-height: 1.4;
  text-align: center;
  z-index: 1000;
}

.ph-banner-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--c-white);
  text-decoration: none;
  font-weight: 600;
}

.ph-banner-cta {
  display: inline-block;
  padding: 2px 12px;
  border: 1px solid var(--c-white);
  border-radius: 999px;
  font-size: 12px;
  white-space: nowrap;
}

.ph-banner-link:hover .ph-banner-cta {
  background: var(--c-white);
  color: var(--c-ph-dark);
}

.ph-banner-close {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  color: var(--c-white);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  padding: 4px 8px;
  opacity: 0.85;
}

.ph-banner-close:hover {
  opacity: 1;
}

@media (max-width: 600px) {
  .ph-banner {
    font-size: 13px;
    padding: 8px 40px;
  }
}
