/* --------------------------------------------------------------------------
   메인 페이지 플로팅 TOP 버튼
   - Showcase 목록의 TOP 버튼과 같은 위치·표시 기준을 사용합니다.
   - 화면 하단을 가리지 않도록 모바일에서는 여백과 크기를 줄입니다.
   -------------------------------------------------------------------------- */
.index-back-to-top-float {
  position: fixed;
  right: 28px;
  bottom: 32px;
  z-index: 90;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 18px;
  border: 1px solid rgba(232, 248, 248, .18);
  background: rgba(13, 16, 16, .92);
  color: #c8f04a;
  font-family: USIDSpace, USIDNoto, sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .1em;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 220ms cubic-bezier(.23, 1, .32, 1), visibility 220ms cubic-bezier(.23, 1, .32, 1), transform 220ms cubic-bezier(.23, 1, .32, 1), border-color 180ms cubic-bezier(.23, 1, .32, 1), background 180ms cubic-bezier(.23, 1, .32, 1);
}

.index-back-to-top-float.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.index-back-to-top-float:hover,
.index-back-to-top-float:focus-visible {
  border-color: #c8f04a;
  background: #0d1010;
  color: #f3f3ed;
  outline: none;
}

.index-back-to-top-float:active { transform: translateY(0) scale(.97); }

@media (max-width: 700px) {
  .index-back-to-top-float {
    right: 18px;
    bottom: 20px;
    min-height: 42px;
    padding: 9px 14px;
    font-size: 9px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .index-back-to-top-float { transition: none; }
}
