/* style-home.css - the DESIGN of: the home top bar (round icons). Part of the old single style.css (split 2026-11-03); loaded in the order listed in index.html. */
/* --- home screen top bar (2026-10-31, Kuma): round icons with a word under each --- */
.top-icons { display: flex; align-items: flex-start; gap: 6px; }
.top-icon { display: flex; flex-direction: column; align-items: center; gap: 2px; background: transparent;
  padding: 2px 1px; color: #EDEDED; font-weight: 500; min-width: 38px; }
.ti-circle { position: relative; width: 34px; height: 34px; border-radius: 50%; display: flex; align-items: center;
  justify-content: center; font-size: 17px; background: #2A2A2E; border: 1.5px solid #4A4A55; }
.ti-plus { font-size: 13px; letter-spacing: -1px; }
.ti-label { font-size: 9.5px; color: #B8B8C0; line-height: 1; }
#btn-top-radio .ti-circle { border-color: #8E7CFF; background: #241F3D; }
#btn-music .ti-circle { border-color: #4FA8FF; background: #1A2633; }
#btn-requests .badge-dot { top: -1px; right: -1px; width: 10px; height: 10px; border: 2px solid #1C1C1E; }
/* something is waiting: the bell glows and pulses so new users notice it */
#cq-alerts.has-alert { border-color: #FF6B60; animation: bell-pulse 1.4s ease-in-out infinite; }
#btn-requests.has-alert .ti-circle { border-color: #FF6B60; animation: bell-pulse 1.4s ease-in-out infinite; }
@keyframes bell-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255, 107, 96, 0.7); transform: scale(1); }
  50% { box-shadow: 0 0 0 7px rgba(255, 107, 96, 0); transform: scale(1.08); }
}
#chat-list-view .topbar { padding: 6px 10px; }
#chat-list-view .me-identity { min-width: 0; }
#chat-list-view .me-identity #me-username { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 28vw; }
/* friends bar: smaller and closer, so full names fit */
#friends-bar { gap: 8px; padding: 10px 10px; }
.friend-item { width: 50px; gap: 3px; }
.friend-item .avatar-md { width: 40px; height: 40px; font-size: 15px; }
.friend-item .friend-name { font-size: 10px; white-space: normal; line-height: 1.15; max-height: 2.3em; word-break: break-word; }
/* slide-up panels (profile menu etc.): never squash the fields on a small screen - the panel scrolls instead */
.panel-inner > * { flex-shrink: 0; }


/* 2026-11-03 (Kuma): waiting friend requests are green cards in the chat list, the place page holds the menu, music and chat: these shortcuts are retired
   (kept in the page so nothing else breaks; remove them from index.html when convenient) */
#btn-requests, #btn-top-radio, #cq-alerts, #cq-radio, #cq-bar { display: none !important; }
/* the 🍻 Places button stays: it opens the directory of every bar and restaurant on Kappy (Kuma 2026-11-03: bar hopping) */
