/* The live hub's macOS dock, lifted as-is so every mock carries the same anchor. */
.dock {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 24px;
  background: rgba(40, 40, 44, 0.55);
  backdrop-filter: blur(24px) saturate(140%);
  -webkit-backdrop-filter: blur(24px) saturate(140%);
  box-shadow:
    0 12px 40px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    inset 0 0 0 1px rgba(255, 255, 255, 0.08);
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.dock-item {
  position: relative;
  width: 50px;
  height: 50px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  transition: transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1), background 0.2s ease;
}
.dock-item svg { width: 24px; height: 24px; }
.dock-item:hover { transform: translateY(-7px) scale(1.12); background: rgba(255, 255, 255, 0.16); }
.dock-profile { overflow: hidden; background: #ebfec0; }
.dock-profile:hover { background: #ebfec0; }
.dock-profile img { width: 100%; height: 100%; object-fit: cover; }
.dock-sep { width: 1px; height: 34px; margin: 0 4px; background: rgba(255, 255, 255, 0.25); }
.dock-item[data-tip]::after {
  content: attr(data-tip);
  position: absolute;
  bottom: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  padding: 4px 10px;
  font: 500 12px/1.3 "DM Sans", system-ui, sans-serif;
  color: #fff;
  white-space: nowrap;
  background: rgba(20, 20, 22, 0.85);
  border-radius: 8px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.15s ease, transform 0.15s ease;
}
.dock-item[data-tip]:hover::after,
.dock-item[data-tip]:focus-visible::after { opacity: 1; transform: translateX(-50%) translateY(0); }
.dock-item:focus-visible { outline: 2px solid #0a84ff; outline-offset: 3px; }

@media (max-width: 560px) {
  .dock { gap: 7px; padding: 8px 10px; bottom: 14px; border-radius: 20px; }
  .dock-item { width: 44px; height: 44px; border-radius: 12px; }
  .dock-item svg { width: 21px; height: 21px; }
  .dock-sep { height: 28px; margin: 0 2px; }
  .dock-item[data-tip]::after { display: none; }
}
