/* Brand footer social boxes — hover labels + "not connected yet" dialog. */
.bsc-row { overflow: visible; }
.bsc-tile {
  position: relative;
  appearance: none;
  -webkit-appearance: none;
  padding: 0;
  margin: 0;
  cursor: pointer;
  font: inherit;
}
.bsc-tile::after {
  content: attr(data-bsc-label);
  position: absolute;
  left: 50%;
  bottom: calc(100% + 9px);
  transform: translate(-50%, 4px);
  padding: 0.32rem 0.6rem;
  border-radius: 0.45rem;
  background: #0f172a;
  color: #f8fafc;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.2;
  white-space: nowrap;
  box-shadow: 0 8px 20px rgba(2, 6, 23, 0.35);
  border: 1px solid rgba(148, 163, 184, 0.25);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.15s ease, transform 0.15s ease;
  z-index: 20;
}
.bsc-tile::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: calc(100% + 4px);
  transform: translate(-50%, 4px) rotate(45deg);
  width: 8px;
  height: 8px;
  background: #0f172a;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.15s ease, transform 0.15s ease;
  z-index: 19;
}
.bsc-tile:hover::after,
.bsc-tile:focus-visible::after { opacity: 1; transform: translate(-50%, 0); }
.bsc-tile:hover::before,
.bsc-tile:focus-visible::before { opacity: 1; transform: translate(-50%, 0) rotate(45deg); }
.bsc-row > li:first-child .bsc-tile::after { left: 0; transform: translate(0, 4px); }
.bsc-row > li:first-child .bsc-tile:hover::after,
.bsc-row > li:first-child .bsc-tile:focus-visible::after { transform: translate(0, 0); }

/* Standalone footers (no portfolio footer CSS) */
.bsc-row--standalone {
  list-style: none;
  margin: 0.75rem 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.bsc-tile--standalone {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.45rem;
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: rgba(255, 255, 255, 0.08);
  color: inherit;
  text-decoration: none;
  transition: background 0.15s ease, transform 0.12s ease;
}
.bsc-tile--standalone:hover,
.bsc-tile--standalone:focus-visible { background: rgba(255, 255, 255, 0.18); transform: translateY(-1px); }
.bsc-tile--standalone svg { width: 1.1rem; height: 1.1rem; display: block; }

/* Not connected yet dialog */
.bsc-modal {
  position: fixed;
  inset: 0;
  z-index: 2147483000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
}
.bsc-modal[hidden] { display: none; }
.bsc-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 6, 23, 0.62);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
}
.bsc-modal__card {
  position: relative;
  width: min(25rem, 100%);
  border-radius: 1.1rem;
  background: #fff;
  color: #0f172a;
  padding: 1.6rem 1.5rem 1.35rem;
  text-align: center;
  box-shadow: 0 24px 60px rgba(2, 6, 23, 0.4);
  font-family: inherit;
  animation: bsc-pop 0.18s ease-out;
}
@keyframes bsc-pop {
  from { opacity: 0; transform: translateY(8px) scale(0.98); }
  to { opacity: 1; transform: none; }
}
.bsc-modal__x {
  position: absolute;
  top: 0.65rem;
  right: 0.65rem;
  width: 2rem;
  height: 2rem;
  border: 0;
  border-radius: 999px;
  background: #f1f5f9;
  color: #475569;
  font-size: 1.15rem;
  line-height: 1;
  cursor: pointer;
}
.bsc-modal__x:hover { background: #e2e8f0; color: #0f172a; }
.bsc-modal__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 0.9rem;
  background: #0f172a;
  color: #fff;
}
.bsc-modal__icon svg { width: 1.6rem; height: 1.6rem; display: block; }
.bsc-modal__kicker {
  margin: 0.95rem 0 0;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #b45309;
}
.bsc-modal__title {
  margin: 0.3rem 0 0;
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.25;
  color: #0f172a;
}
.bsc-modal__body {
  margin: 0.55rem 0 0;
  font-size: 0.9rem;
  line-height: 1.5;
  color: #475569;
}
.bsc-modal__live {
  margin: 0.85rem 0 0;
  font-size: 0.8rem;
  color: #64748b;
}
.bsc-modal__live a { color: #0f172a; font-weight: 700; }
.bsc-modal__ok {
  margin-top: 1.15rem;
  width: 100%;
  border: 0;
  border-radius: 0.65rem;
  background: #0f172a;
  color: #fff;
  font: inherit;
  font-size: 0.92rem;
  font-weight: 700;
  padding: 0.7rem 1rem;
  cursor: pointer;
}
.bsc-modal__ok:hover { background: #1e293b; }
