/* 상단 바 선물 아이콘(친구 추천) — 「업그레이드」(얼리 액세스) 단추 왼쪽 원형 아이콘. 호버 · 포커스 때 아래로 「₩OO 받기」 말풍선.
   친구 추천이 켜졌을 때만 보인다(gift.js 가 /api/v1/referral/config 를 보고 hidden 을 푼다). 담당: 친구 추천. */
.tb__gift { position: relative; display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; flex: none;
  color: #fff; text-decoration: none; background: linear-gradient(135deg, var(--hb-blue, #1659f0), var(--hb-violet, #6d4aff));
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .22) inset, 0 4px 16px -4px rgba(22, 89, 240, .6); margin-right: 4px; }
.tb__gift[hidden] { display: none; }
.tb__gift:hover { color: #fff; filter: brightness(1.1); }
.tb__gift:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.tb__gift svg { width: 18px; height: 18px; }
.tb__gifttip { position: absolute; top: calc(100% + 10px); left: 50%; transform: translate(-50%, -4px); z-index: 60; pointer-events: none;
  padding: 6px 12px; border-radius: 8px; background: #fff; color: var(--navy, #0a1230); font-size: 13px; font-weight: 800; white-space: nowrap;
  box-shadow: 0 8px 24px -8px rgba(5, 9, 21, .45); opacity: 0; transition: opacity .15s ease, transform .15s ease; font-variant-numeric: tabular-nums; }
.tb__gifttip::before { content: ""; position: absolute; left: 50%; top: -5px; width: 10px; height: 10px; background: inherit; transform: translateX(-50%) rotate(45deg); border-radius: 2px; }
.tb__gift:hover .tb__gifttip, .tb__gift:focus-visible .tb__gifttip { opacity: 1; transform: translate(-50%, 0); }
@media (prefers-reduced-motion: reduce) { .tb__gifttip { transition: none; } }
