/* =====================================================
   鳩乃はろんボタン styles.css
   ===================================================== */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --color-primary: #7b6fd4;
  --color-primary-dark: #6a5ec0;
  --color-primary-bg: #e8e4ff;
  --color-header-bg: #5b4fcf;
  --color-new-badge: #f28b5a;
}

body {
  font-family: 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', 'Noto Sans JP', sans-serif;
  background: #f7f6fd;
  color: #1a1a2e;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ヘッダー */
.site-header {
  background: var(--color-header-bg);
  padding: 0 2rem;
  height: 56px;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.site-title {
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  margin-right: auto;
}

.header-links {
  display: flex;
  gap: 0.5rem;
}

.header-link {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  border-radius: 20px;
  padding: 6px 14px;
  font-size: 13px;
  text-decoration: none;
  transition: background 0.15s;
}

.header-link:hover {
  background: rgba(255, 255, 255, 0.28);
}

/* メインコンテンツ */
main {
  flex: 1;
}

.main-title {
  text-align: center;
  font-size: 28px;
  font-weight: 700;
  color: #1a1a2e;
  padding: 2rem 0 0.75rem;
}

.x-profile-card {
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 400px;
  margin: 0 auto 1.5rem;
  padding: 12px 16px;
  border: 1px solid #e1e8ed;
  border-radius: 12px;
  text-decoration: none;
  color: inherit;
  background: #fff;
  transition: background 0.15s;
}
.x-profile-card:hover {
  background: #f7f7f7;
}
.x-profile-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}
.x-profile-name {
  font-weight: 700;
  font-size: 15px;
}
.x-profile-id {
  font-weight: 400;
  color: #888;
  font-size: 13px;
  margin-left: 4px;
}
.x-profile-bio {
  font-size: 13px;
  color: #555;
  margin-top: 2px;
}

/* 共有ボタン */
.share-row {
  display: flex;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.share-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  background: #111;
  color: #fff;
  border-radius: 20px;
  padding: 7px 18px;
  font-size: 13px;
  text-decoration: none;
  transition: background 0.15s;
}

.share-btn:hover {
  background: #333;
}

/* 注意書き */
.notice {
  max-width: 680px;
  margin: 0 auto 2rem;
  padding: 0 2rem;
  text-align: center;
  font-size: 13px;
  color: #666;
  line-height: 1.9;
}

.notice a {
  color: var(--color-primary);
  text-decoration: none;
}

.notice a:hover {
  text-decoration: underline;
}

/* カテゴリコンテンツ */
.content {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 2rem 3rem;
}

.category-card {
  background: #fff;
  border: 1px solid #e4e0f7;
  border-radius: 14px;
  padding: 1.25rem 1.5rem;
  margin-bottom: 1rem;
}

.category-title {
  font-size: 16px;
  font-weight: 600;
  color: #1a1a2e;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid #eeebfc;
}

.button-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

/* 音声ボタン */
.play-button {
  position: relative;
  background: var(--color-primary);
  color: var(--color-primary-bg);
  border: none;
  border-radius: 20px;
  padding: 8px 18px;
  font-size: 14px;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.15s, transform 0.1s;
}

.play-button:hover {
  background: var(--color-primary-dark);
}

.play-button:active {
  transform: scale(0.96);
}

/* NEWバッジ */
.play-button.is-new::after {
  content: 'NEW';
  position: absolute;
  top: -7px;
  right: -7px;
  background: var(--color-new-badge);
  color: #fff;
  font-size: 9px;
  font-weight: 700;
  border-radius: 8px;
  padding: 2px 5px;
  line-height: 1;
}

/* おすすめバッジ */
.play-button.is-recommend::after {
  content: 'おすすめ';
  position: absolute;
  top: -7px;
  right: -7px;
  background: #ef4444;
  color: #fff;
  font-size: 9px;
  font-weight: 700;
  border-radius: 8px;
  padding: 2px 5px;
  line-height: 1;
}

/* フッター */
.footer-icons {
  display: flex;
  gap: 1rem;
}
.site-footer {
  border-top: 1px solid #e4e0f7;
  padding: 1.5rem 2rem;
  text-align: center;
}

.footer-icons {
  display: inline-flex;
  gap: 1rem;
  margin-bottom: 1rem;
}

.footer-icon-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #f0eeff;
  color: var(--color-primary);
  text-decoration: none;
  transition: background 0.15s;
}

.footer-icon-link:hover {
  background: #e0d9ff;
}
