.tool-dock-container {
  grid-column: 1 / -1;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
  margin: 32px auto 0 auto;
  padding: 12px 28px;
  background: linear-gradient(180deg, var(--surface-sunken) 0%, var(--surface) 100%);
  border: 1px solid var(--border-soft);
  border-radius: 40px;
  box-shadow:
    inset 0 2px 4px rgba(255, 255, 255, 0.5),
    0 4px 12px hsl(var(--shadow-color) / 0.05);
  backdrop-filter: blur(8px);
  max-width: 100%;
}
.tool-slot {
  position: relative;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--surface-sunken);
  border: 2px dashed var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: inset 0 2px 5px rgba(0,0,0,0.04);
  transition: border-color 0.3s, background 0.3s;
  flex-shrink: 0;
}
.tool-slot:hover {
  border-color: var(--text-faint);
  background: var(--surface);
}
.tool-slot-label {
  font-size: 9.5px;
  font-weight: 700;
  color: var(--text-faint);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  pointer-events: none;
  user-select: none;
  opacity: 0.75;
}

@media (max-width: 640px) {
  .tool-dock-container {
    gap: 8px;
    margin: 18px auto 0 auto;
    padding: 6px 8px;
    border-radius: 28px;
    width: 100%;
    box-sizing: border-box;
  }
  .tool-slot {
    width: 48px;
    height: 48px;
  }
  .tool-slot-label {
    font-size: 7.5px;
  }
  .dock-btn {
    width: 48px !important;
    height: 48px !important;
  }
  .dock-btn svg {
    width: 16px !important;
    height: 16px !important;
  }
  .dock-btn span {
    font-size: 6.5px !important;
  }
}

@media (max-width: 380px) {
  .tool-dock-container {
    gap: 5px;
    padding: 5px 6px;
  }
  .tool-slot {
    width: 44px;
    height: 44px;
  }
  .dock-btn {
    width: 44px !important;
    height: 44px !important;
  }
}

/* beam layer: draws the directional light cone from penlight to target pupil */
.beam-layer {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  opacity: 0;
  transition: opacity 220ms ease;
}
#beamCone {

}
