/* =========================================================
 * Nephilim: Post Type Switch（フラット／境界レス）
 * ========================================================= */

/* 投稿タイプ切替：コンテナ */
.nephilim-ptype-switch{
  display: flex;
  flex-wrap: wrap;
  gap: 0.15rem;                 /* ← 境界を感じさせない */
  margin: 0 0 1.0rem;
  padding: 0;

  background: none;
  box-shadow: none;
  backdrop-filter: none;
}

/* before 装飾は不要 */
.nephilim-ptype-switch::before{
  display: none;
}

/* 投稿タイプ切替：ボタン本体 */
.nephilim-ptype-btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 0.55rem 1.15rem;     /* ← 少し大きく */
  border-radius: 8px;           /* ← 角は残すが主張しない */

  text-decoration: none;
  white-space: nowrap;

  line-height: 1.3;
  font-size: 0.9rem;
  font-weight: 600;

  /* フラット化 */
  background: rgba(255,255,255,0.45);
  border: none;
  box-shadow: none;

  color: rgba(0,0,0,0.70);

  /* 動きは一切させない */
  transition: background-color 120ms ease, color 120ms ease;
}

/* hover：色トーンのみ */
.nephilim-ptype-btn:hover{
  background: rgba(255,255,255,0.65);
  color: rgba(0,0,0,0.85);
}

/* 選択中：背景を少しだけ明るく */
.nephilim-ptype-btn.is-active{
  background: rgba(255,255,255,0.85);
  color: rgba(0,0,0,0.90);
}

/* active 時の沈み・揺れは完全撤去 */
.nephilim-ptype-btn:active{
  transform: none;
}



/* =========================================================
 * Nephilim: Pagination（フラット・操作性優先）
 * ========================================================= */

.nephilim-pagination{
  margin-top: 1.1rem;
}

.nephilim-pagination ul{
  list-style: none;
  margin: 0;
  padding: 0;

  display: flex;
  flex-wrap: wrap;
  gap: 0.2rem;                  /* ← 境界を弱める */
  align-items: center;
}

.nephilim-pagination li{
  margin: 0;
  padding: 0;
}

/* ページネーション：アイテム */
.nephilim-pagination a,
.nephilim-pagination span{
  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-width: 2.8em;
  padding: 0.5rem 0.95rem;      /* ← 押しやすさ優先 */
  border-radius: 8px;

  text-decoration: none;
  line-height: 1.3;
  font-size: 0.9rem;
  font-weight: 600;
  white-space: nowrap;

  background: rgba(255,255,255,0.45);
  border: none;
  box-shadow: none;

  color: rgba(0,0,0,0.70);

  transition: background-color 120ms ease, color 120ms ease;
}

.nephilim-pagination a:hover{
  background: rgba(255,255,255,0.65);
  color: rgba(0,0,0,0.85);
}

/* 現在ページ */
.nephilim-pagination .current{
  background: rgba(255,255,255,0.85);
  color: rgba(0,0,0,0.90);
}





/* =========================================================
 * Responsive
 * ========================================================= */

@media (max-width: 768px){
  .nephilim-ptype-switch{
    gap: 0.1rem;
  }

  .nephilim-ptype-btn{
    font-size: 0.88rem;
    padding: 0.5rem 1.0rem;
  }

  .nephilim-pagination a,
  .nephilim-pagination span{
    font-size: 0.88rem;
    padding: 0.48rem 0.85rem;
  }
}
