/* ── DOCK ── */
.dock-outer {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: 500;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 10px;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.dock-panel {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.03);
  border: 1px solid rgba(255,255,255,0.55);
  backdrop-filter: blur(2px);
  box-shadow: 0 0 0 1px rgba(255,255,255,0.06), 0 8px 32px rgba(0,0,0,0.3);
  pointer-events: all;
}

.dock-item {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: rgba(0,0,0,0.0);
  border: 1px solid rgba(255,255,255,0.3);
  cursor: pointer;
  outline: none;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  transition: width 0.15s ease, height 0.15s ease, background 0.2s, border-color 0.2s;
}

.dock-item:hover {
  background: rgba(255,255,255,0.05);
  border-color: rgba(255,255,255,0.7);
}

.dock-sep {
  width: 1px;
  height: 24px;
  background: rgba(255,255,255,0.2);
  align-self: center;
  flex-shrink: 0;
}

.dock-label {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(-4px);
  white-space: nowrap;
  background: rgba(0,0,0,0.85);
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 6px;
  padding: 3px 10px;
  font-size: 10px;
  letter-spacing: 1.5px;
  color: rgba(255,255,255,0.85);
  font-family: 'Share Tech Mono', monospace;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.dock-item:hover .dock-label,
.dock-item:focus .dock-label {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.dock-item {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  cursor: pointer;
  outline: none;
  transition: width 0.15s ease, height 0.15s ease, background 0.2s;
  /* default size set via JS */
  width: 44px;
  height: 44px;
  flex-shrink: 0;
}

.dock-item:hover {
  background: rgba(255,255,255,0.1);
}

.dock-item svg,
.dock-item img,
.dock-icon {
  width: 55%;
  height: 55%;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  font-size: 18px;
  color: rgba(255,255,255,0.8);
  transition: transform 0.15s ease;
}

.dock-label {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(-4px);
  white-space: nowrap;
  background: rgba(10,8,16,0.92);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 6px;
  padding: 3px 10px;
  font-size: 10px;
  letter-spacing: 1.5px;
  color: rgba(255,255,255,0.85);
  font-family: 'Share Tech Mono', monospace;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.dock-item:hover .dock-label,
.dock-item:focus .dock-label {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* separator */
.dock-sep {
  width: 1px;
  height: 28px;
  background: rgba(255,255,255,0.08);
  align-self: center;
  flex-shrink: 0;
}
