body {
  margin: 0;
  padding-bottom: 57px; /* 플로팅바 높이 증가에 맞춤 */
  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;

    /* 기존 9px → 13px로 증가 */
    padding: 13px 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;
    transform: scale(0.98);
  }
}