* {
  box-sizing: border-box;
  font-family: 'Pretendard', sans-serif;
}

html, body {
  overflow-y: auto;
  scrollbar-width: none;
}

body::-webkit-scrollbar {
  display: none;
}

body {
  background-color: #fafafa;
  margin: 0;
  padding: 20px;
  display: flex;
  justify-content: center;
}

.post-box {
  width: 100%;
  max-width: 600px;
}

.diary-item {
  margin-bottom: 15px;
}

.diary-header {
  cursor: pointer;
  background-color: #f5f5f5;
  border: 1px solid #ddd;
  border-radius: 10px;
  padding: 12px 16px;
  font-weight: bold;
  transition: background-color 0.2s;
}

.diary-header:hover {
  background-color: #eaeaea;
}

.diary-content {
  display: none;
  padding: 16px;
  background-color: #fff;
  border: 1px solid #ddd;
  border-top: none;
  border-radius: 0 0 10px 10px;
  line-height: 1.6;
}

/* ✅ Floating Action Button (우측 하단) */
.fab {
  position: fixed;
  right: 30px;
  bottom: 30px;
  z-index: 9999;

  width: 55px;
  height: 55px;
  border-radius: 999px;

  border: 1px solid #ddd;
  background: #ffffff;
  box-shadow: 0 6px 18px rgba(0,0,0,0.12);

  /* ✅ 텍스트 정중앙 정렬 */
  display: flex;
  align-items: center;
  justify-content: center;

  /* ✅ 기본 버튼 스타일 영향 제거 */
  padding: 0;
  line-height: 1;

  font-weight: 700;
  font-size: 18px;
  cursor: pointer;
}

.fab:active {
  transform: translateY(1px);
}