body {
  margin: 0;
  padding-bottom: 45px; /* 더 슬림해진 플로팅바 높이에 맞춘 하단 여백 */
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.floating-bar {
  display: none;
}

@media (max-width: 768px) {
  .floating-bar {
    display: flex;
    align-items: center;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
    padding-bottom: env(safe-area-inset-bottom); /* 아이폰 하단 홈 바 대응 */
    
    /* 반투명 검은색 배경 & 글래스모피즘 블러 효과 */
    background-color: rgba(18, 18, 18, 0.88);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.3);
  }

  .floating-btn {
    flex: 1;
    padding: 9px 0; /* 높이를 살짝 더 줄여 컴팩트하게 조절 */
    text-align: center;
    font-size: 13.5px;
    font-weight: 600;
    line-height: 1.2;
    cursor: pointer;
    color: #ffffff !important;
    text-decoration: none !important;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    transition: background-color 0.2s ease, opacity 0.2s ease, transform 0.1s ease;
    position: relative;
  }

  /* 홈버튼 전용: 텍스트 없이 아이콘만 표시되므로 고정 너비 지정 */
  .floating-btn.btn-home {
    flex: 0 0 52px;
  }

  /* 버튼 사이 흰색 세로 구분선 */
  .floating-btn:not(:last-child)::after {
    content: "";
    position: absolute;
    right: 0;
    top: 20%;
    height: 60%;
    width: 1px;
    background-color: rgba(255, 255, 255, 0.35); /* 선명한 흰색 구분선 */
  }

  /* 터치 시 피드백 효과 */
  .floating-btn:active {
    background-color: rgba(255, 255, 255, 0.12);
    opacity: 0.85;
  }
}