/* Dream Walker — Smart Social Dock */

.dwc-social-hub {
  margin-top: 1.75rem;
  padding: 1.1rem 1.25rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 1.5rem;
  clear: both;
}

.dwc-social-hub__header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0;
  padding: 0;
  border: 0;
}

.dwc-social-hub__badge {
  display: none;
}

.dwc-social-hub__title {
  margin: 0;
  font-size: 0.92rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.dwc-social-hub__lead {
  display: none;
}

.dwc-social-hub__grid {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.55rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

a.dwc-social-pill,
.dwc-social-hub a.dwc-social-pill,
.footer a.dwc-social-pill {
  --dwc-accent: #22c55e;
  position: relative !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 46px !important;
  height: 46px !important;
  min-height: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  border-radius: 50% !important;
  background: rgba(255, 255, 255, 0.1) !important;
  border: 1px solid rgba(255, 255, 255, 0.16) !important;
  color: #fff !important;
  text-decoration: none !important;
  box-shadow: none !important;
  transform: none !important;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease !important;
}

a.dwc-social-pill::before,
.footer a.dwc-social-pill::before {
  display: none !important;
  content: none !important;
}

a.dwc-social-pill:hover,
a.dwc-social-pill:focus-visible,
.footer a.dwc-social-pill:hover {
  transform: translateY(-4px) scale(1.06) !important;
  background: var(--dwc-accent) !important;
  border-color: transparent !important;
  color: #fff !important;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.28) !important;
  outline: none !important;
}

.dwc-social-pill__icon {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: auto !important;
  height: auto !important;
  border-radius: 0 !important;
  font-size: 1.2rem !important;
  color: inherit !important;
  background: transparent !important;
  box-shadow: none !important;
}

.dwc-social-pill__name,
.dwc-social-pill__handle {
  position: absolute !important;
  left: 50% !important;
  bottom: calc(100% + 10px) !important;
  transform: translateX(-50%) translateY(4px) !important;
  opacity: 0 !important;
  pointer-events: none !important;
  white-space: nowrap !important;
  margin: 0 !important;
  padding: 0.35rem 0.65rem !important;
  border-radius: 8px !important;
  background: #0b1f3a !important;
  color: #fff !important;
  font-size: 0.72rem !important;
  font-weight: 600 !important;
  line-height: 1.2 !important;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.25) !important;
  transition: opacity 0.18s ease, transform 0.18s ease !important;
  z-index: 5 !important;
}

.dwc-social-pill__handle {
  display: none !important;
}

.dwc-social-pill__name::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 5px solid transparent;
  border-top-color: #0b1f3a;
}

a.dwc-social-pill:hover .dwc-social-pill__name,
a.dwc-social-pill:focus-visible .dwc-social-pill__name {
  opacity: 1 !important;
  transform: translateX(-50%) translateY(0) !important;
}

.dwc-social-hub--compact {
  margin-top: 1rem;
  padding: 0.85rem 1rem;
}

.dwc-social-hub--compact .dwc-social-hub__title {
  font-size: 0.85rem;
}

@media (max-width: 767.98px) {
  .dwc-social-hub {
    border-radius: 18px;
    justify-content: center;
    text-align: center;
  }

  .dwc-social-hub__header {
    width: 100%;
    justify-content: center;
  }

  .dwc-social-hub__grid {
    width: 100%;
    justify-content: center;
  }

  a.dwc-social-pill,
  .footer a.dwc-social-pill {
    width: 44px !important;
    height: 44px !important;
  }
}
