/**
 * パンくずリストとカテゴリリンクを完全に非表示にする
 * 最優先で適用されるスタイル
 */

/* パンくずリスト関連を全て非表示 */
#breadcrumb,
.breadcrumb,
.breadcrumb-container,
.breadcrumb-simple,
nav[aria-label*="パンくず"],
nav[aria-label*="breadcrumb"] {
  display: none !important;
  visibility: hidden !important;
  height: 0 !important;
  overflow: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

/* カテゴリリンクのテキストリストを非表示 */
a[href*="/?category="],
a[href*="/category/"] {
  /* リンク自体は残すが、テキストリンクの羅列は非表示 */
}

/* ヘッダー直下のリンクリストを非表示 */
body > a,
.container > a:not(.btn):not(.cta-button):not(.hero-main-btn),
div:not(.category-card) > a[href*="動員"],
div:not(.category-card) > a[href*="いいね"],
div:not(.category-card) > a[href*="フォロワー"] {
  display: none !important;
}

/* 青いテキストリンクの羅列を非表示 */
a[style*="color: blue"],
a[style*="color: #0000ff"],
a[style*="color: rgb(0, 0, 255)"] {
  display: none !important;
}

/* ホーム、ライブ動員、いいね動員などのテキストリンクを非表示 */
body > div:first-of-type a[href="/"],
body > div:first-of-type a[href*="live"],
body > div:first-of-type a[href*="like"],
body > div:first-of-type a[href*="follow"],
body > div:first-of-type a[href*="repost"],
body > div:first-of-type a[href*="comment"] {
  display: none !important;
}

/* カテゴリカードは表示を維持 */
.category-card {
  display: block !important;
}

/* ヒーローセクションは表示を維持 */
.hero-wrapper,
.hero-container {
  display: block !important;
  visibility: visible !important;
}

/* モバイルメニューは表示を維持 */
.mobile-menu,
.mobile-menu-toggle {
  /* これらは表示を維持 */
}

/* 特定のコンテナ内のリンクを非表示 */
.min-h-screen > div:first-child a:not(.btn):not(.cta-button),
#app > div:first-child a:not(.btn):not(.cta-button) {
  display: none !important;
}