/* アクションボタン全般に統一スタイル */
.action-button button,
.action-button .favorite-button,
.action-button .read-button {
  background-color: #f5f5f5;
  border: 2px solid #8B4513;
  color: #8B4513;
  font-size: 18px;
  padding: 0.5em 0.8em;
  border-radius: 8px;
  cursor: pointer;
  box-shadow: 0 4px 0 #8B4513;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.3s ease;
}

/* hover時：浮き上がる */
.action-button button:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 4px rgba(0,0,0,0.15);
  background-color: #fff5ec;
}

/* active時：押し込む */
.action-button button:active {
  transform: translateY(2px);
  box-shadow: 0 2px 0 #8B4513;
}

/* done状態（お気に入り済み・読了済み）の配色変化 */
.favorite-button.done,
.read-button.done {
  background-color: #8B4513;
  color: #fff;
  box-shadow: 0 4px 0 #5c2f10;
}

.favorite-button.done:hover,
.read-button.done:hover {
  background-color: #a0522d;
}

/* 読み込み中の薄い透過状態 */
.comments-loading {
    opacity: 0.4;
    filter: blur(1px);
    pointer-events: none;
    transition: opacity 0.3s ease;
}

/* ふわっと下からフェードイン */
.comment {
    opacity: 0;
    transform: translateY(10px);
    animation: fadeSlideUp 0.4s ease forwards;
}

@keyframes fadeSlideUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}